can you point me to an rgb color reference?

do we have a list of  decimal colors ?

i understand that we use rgb but when i search for it i get 0-256 ,not 0-1.

where is my mistake ?

i tried : 0.234,0.56,0.56 for example but i can see that it’s not it.

+i am partially color blind so i need to  be sure i use the right numbers for i can’t trust what i see.   

thanks

You can just divide the numbers you see by 255.

[lua]
image:setFillColor(255/255, 100/255, 0/255)

[/lua]

Using this you could build your own function that takes in 0-255 colour values and converts them to 0-1, to save having /255 all over your code.

thanks !

so simple and yet so elusive.

silly me:)

You can just divide the numbers you see by 255.

[lua]
image:setFillColor(255/255, 100/255, 0/255)

[/lua]

Using this you could build your own function that takes in 0-255 colour values and converts them to 0-1, to save having /255 all over your code.

thanks !

so simple and yet so elusive.

silly me:)