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