-
Instantiating a color via expressions: possible?
Using expressions, I can create a color reference by pick-whipping a color control and the result is:
var myColor = rgbToHsl(effect("Color Control")("Color"));
But, I want to avoid using a color control, and simply instantiate the color with a variable:
var myColor = rgbToHsl([159,27,41,1]);
…but this doesn’t seem to work. Is it possible?