You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eric Mor edited this page Aug 19, 2019
·
3 revisions
In PROP and PFX files, colors are specified in a special way:
color (1.0, 0, 0.5)
As you can see, colors are specified in parenthesis, with three values ranging from 0 to 1. Each value corresponds to a color channel: (red, green, blue)
In the previous example, the red channel has the maximum value (1.0), the green channel has no color (0), and blue has an intermediate color. It would be equivalent to the color code #ff0080
If you hover the mouse over a color value in the editor, a tooltip will appear showing that color. More interestingly, use Ctrl+Click over the value and a color picker will show, allowing you to easily edit the color:
Sometimes, it's possible to specify a fourth value in the colour, the alpha (opacity). A value of 1.0 is completely opaque, a value of 0.0 is completely transparent (so not visible).