v1

function makeid(length) {
   var result           = '';
   var characters       = 'ABCDEF0123456789';
   var charactersLength = characters.length;
   for ( var i = 0; i < length; i++ ) {result += characters.charAt(Math.floor(Math.random() * charactersLength));}
   return result;
}

function myLoop() {
  setTimeout(function() {
    pad.notifyChangeColor('#' + makeid(6));
    myLoop();
  }, 1600)
}

myLoop();