code: function() {
        var source = this.getSource();
  
        var r = source[0].toString(16);
        r = (r.length == 1) ? ('0' + r) : r;
  
        var g = source[1].toString(16);
        g = (g.length == 1) ? ('0' + g) : g;
  
        var b = source[2].toString(16);
        b = (b.length == 1) ? ('0' + b) : b;
  
        return r.toUpperCase() + g.toUpperCase() + b.toUpperCase();
      }
docs: Returns color represenation in HEX format
  @method toHex
  @return {String} ex: FF5555