1 person found this helpful
If you choose to directly control color with an expression the values must be in an array of 4 values, red, green, blue and alpha The range is from zero to one. An alpha value of 0 is fully opaque, 1 is transparent. For a red solid you would use this expression:
[1, 0, 0, 0]
Blue with 50% opacity:
[0, 0, 1, .5]
I hope this helps. There's more info in the help files.
That was really helpful. I got another question though:
How do I say that if the first shape is red, then the second one is also red, but a slightly darker in relativity to first shape's red?
Hope that makes sense.