Blockland Forums > Modification Help

Color Code X.X

Pages: << < (4/4)

PNetwork2011:


--- Quote from: Demian on June 17, 2011, 04:53:23 PM ---RGB to decimal: Divide by 255
Decimal to RGB: Multiply by 255

--- End quote ---
Thx demian alot

gives cookies  :cookie: :cookie: :cookie:


PNetwork2011:

I just have one final question: IF i get a crazy big-ass answer to the division problem like 0.639215686274509803921568627 45098 will it still work

cucumberdude:

Use this.

http://forum.blockland.us/index.php?topic=157585.0

It will give the closest approximation.

Demian:


--- Quote from: PNetwork2011 on June 17, 2011, 05:02:20 PM ---I just have one final question: IF i get a crazy big-ass answer to the division problem like 0.639215686274509803921568627 45098 will it still work

--- End quote ---
From experience going up to three decimals is accurate enough. In this case 0.639.

DrenDran:


--- Quote from: PNetwork2011 on June 17, 2011, 04:56:56 PM ---Thx demian alot

gives cookies  :cookie: :cookie: :cookie:


--- End quote ---
I can't believe that was that hard to figure out.

--- Quote from: PNetwork2011 on June 17, 2011, 05:02:20 PM ---I just have one final question: IF i get a crazy big-ass answer to the division problem like 0.639215686274509803921568627 45098 will it still work

--- End quote ---
Such changes aren't even visible.

Pages: << < (4/4)

Go to full version