boogle said:
I am trying to figure out how to convert a hexadecimal color to its relative frequency, aka if your hex number is 591700 what is the frequency of that color. Does anyone have any possible ideas where to find this/how to compute this.
There are two reasons that this can't be realistically done:
1. A single perceived color can be generated either by a single pure frequency or by a combination of any arbitrary number of frequencies.
However, even if you only care what the pure frequency would be, there's still another problem:
2. The actual color represented by a color number depends on the device doing the capture or output. Different cameras will generate drastically diferent values for the same color. Similarly, different monitors will produce dramatically different colors for the same values.
However, if everything is calibrated perfectly:
http://www.brucelindbloom.com/index.html?ColorCalcHelp.html
Once you have a color temperature in Kelvin, you can calculate the pure frequency that corresponds to that color temperature:
http://en.wikipedia.org/wiki/Wien's_displacement_law
Of course, in the real world, such calculations will likely have very little basis in reality, IMHO.