JSUI color attribute

ab's icon

Is possible to declare an attribute to pick a color in JSUI ? I can declare it as an array like this:

var background_color = [0.1,0.1,0.1,1];
declareattribute("background_color", null, null, 1)

but would be nice to have a color picker like standard UI objects.