PDA

View Full Version : Where Can I Get an RGB Color Chart in Float Values?



Chris Share
05-13-2005, 04:32 AM
Hi,

I can't seem to find any RGB color charts that use the range of 0 to 1 (they all seem to use 0 to 255).

Does anyone know where I can find one of these charts?

Cheers,

Chris

Bob
05-13-2005, 04:52 AM
Just divide values in the charts you have found with 255 and you get the corresponding floatingpoint value. It's just a linear mapping of the range [0, 255] to [0, 1].