- May 31, 2017 at 9:15 am
I’m trying to set colour of a shape with the below expression. The expression works but the colour that the shape displays with the below example does not reflect the RGB values provided. I can not find the Adobe documentation anywhere that describes what this method should do. If anyone could help point me to the documentation or explain how this method work I’d be very great full.
- May 31, 2017 at 4:51 pm
There are a couple of problems I suspect you’re running into:
1) Color values should to be scaled from 0.0 to 1.0, not from 0 to 255.
2) This function returns the HSLA values of the given RGBA color, but Ae always thinks in RGBA. Unless you’re doing something in your shape layer to ultimately convert those HSLA color values back to RGBA, (like with Channel Combiner or Set Channels), you will not get the results you expect.
Log in to reply.