Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to associate a color value to a number?

I'm creating a module that would associate the average color value to a value, which is ranged from white to blue (based from a thermal picture). Now I need to a way to do this in code, and I definitely need help in this regard, since I have no clue as to how do I code this in the first place.

Any help would be appreciated.

Thanks in advance.