UI.color = function(name){
  var obj = {};
  if(name in UI.color.colors){
    obj.color = UI.color.colors[name]
  }
  obj.__proto__ = UI.color.prototype;
  return obj;
};
UI.color.colors = {
  'carrot':[230, 126, 34,1], // all colors in [R,G,B,A]
};
UI.color.prototype.RGBA = function(){
  var arr = this.color;
  return 'rgba('+arr[0]+','+arr[1]+','+ arr[2]+','+arr[3]+')';
}

@@ -240,19 +240,111 @@
 ,G,B,A%5D%0A
+  'pumpkin':%5B211, 84, 0,1%5D,%0A  'turqoise':%5B26, 188, 156,1%5D,%0A  'grean_sea':%5B22, 160, 133,1%5D,%0A
 %7D;%0A
+%0A
 UI.color

Update color.js