hi guys, this is just rather very basic question but i wonder how do I get the usual RGB color codes for setFillColor? I tried to use standard RGB color codes (like in photoshop), for example:
textObject:setFillColor( 255, 40, 40 )
but it didn’t change the text color. then i found out that setFillColor use different RGB code pattern, the ones that’s explained here:
http://www.avatar.se/molscript/doc/colour_names.html
so let’s say I want to use grey color, then I put it like this:
textObject:setFillColor( 0.466667, 0.533333, 0.6 )
it does work but I wonder how can I use the standard RGB color codes like in photoshop? Because i want to use the same color code but I dont know what number should I put in