Author Topic: Decimal Color Codes?  (Read 1296 times)

Hello, I am currently editing a few addons but the color codes used are like this:

0.200 0.200 0.200 1.000

What are they?

They are RGB color codes.
http://www.december.com/html/spec/colorcodes.html
http://www.colorpicker.com/
Wait what why are they decimals
those are still RGB codes right


Try some of those RGB codes I linked to, see if they work.

Hang on, these are like percentages of colors: %100 => 1.000 %0 => 0.000

Correct me if I am wrong.

If you start Blockland and go to Player -> Color Set then you can try changing the decimal values of colours to see how they affect the avatar.

RGB Arithmetic code, I think.

0.200 0.200 0.200 1.000 Looks like this

The decimal color codes just mean the same as

0.00 1.00 1.00 1.000
EQUALS
0 255 255 255

The decimal system is probably easier to use since it doesn't have such wierd max values (255). If anything, make a colorset full of test decimal colors and find the right one

The 255 format is for hex coding.