How to Convert RGB Values to Wavelength and Vice Versa?

  • Thread starter Thread starter neurocomp2003
  • Start date Start date
  • Tags Tags
    Wavelenght
Click For Summary
SUMMARY

This discussion focuses on the conversion between RGB values and wavelength values, emphasizing the complexity of color perception. It establishes that a blend of colors does not correspond to a unique wavelength, as colors like brown result from mixtures of light at various wavelengths. The conversation highlights the role of the human eye's three light-sensitive pigments, which respond to red, green, and blue wavelengths, and how their activation levels influence perceived color. Additionally, it clarifies that the signals received by bipolar cells in the eye are based on the frequency of activation rather than simple on/off signals.

PREREQUISITES
  • Understanding of RGB color model
  • Basic knowledge of wave theory and superposition
  • Familiarity with human visual perception and color theory
  • Knowledge of the physiology of the human eye, specifically cones and rods
NEXT STEPS
  • Research the relationship between RGB values and wavelength using color science tools
  • Explore the principles of wave superposition in physics
  • Study the human visual system, focusing on the role of cones in color perception
  • Investigate color mixing techniques in digital media and their implications for color representation
USEFUL FOR

This discussion is beneficial for color scientists, digital artists, educators in optics and visual perception, and anyone interested in the complexities of color representation and human vision.

neurocomp2003
Messages
1,359
Reaction score
4
How would one convert RGB values to a wavelength value
OR
a wavelength value to RGB?

ie 180,180,60=?
 
Last edited:
Science news on Phys.org
I think that may be impossible. A blend of different colors of light does not have a unique wavelength. For example, you can't talk about the wavelength of the color brown because it is a mixture of light at different wavelengths.
 
but doesn't the superposition mean that those different wavelengths...superimpose into one wave? with a wavelength because its a finite #?
 
No, waves of different frequencies do not combine into a single, normal wave. For example you can add two cosine waves of different frequencies. Suppose the average frequency of the two waves is m and that one wave has frequency (m+x) and the other (m-x). Then the function describing the amplitude of the wave is A=cos[(m+x)t] + cos[(m-x)t]. Using Euler's formula, that becomes
A = Re: e^[i(m+x)t] + e^[i(m-x)t]
= Re: {e^(imt)}*{e^(ixt) + e^(-ixt)}
= Re: {cos(mt) +i sin(mt)}*{cos(xt) + i sin(xt) + cos(-xt) + i sin(-xt)}
= Re: {cos(mt) +i sin(mt)}*{2cos(xt)}
= 2cos(mt)cos(xt)
Which is not a simple cosine wave (It looks like a cosine wave on top of a cosine wave for x<<m)
The eye contains three different light sensitive pigments which have maximum sensitivities at wavelengths corresponding roughly to red, green and blue. It is the relative extent to which these pigments are activated that determines what color is percieved. Each of these pigments can pick out of a complicated waveform that component of the the wave at the frequency to which it is most sensitive. No pure light could activate pigments that peak at different frequencies equally. This means that some colors can not be produced by pure light.
 
"It is the relative extent to which these pigments are activated that determines what color is percieved."
if so does this mean that the bipolar cells of the eye don't receive on/off signals from the cones&rods but REAL valued signals?
 
The frequency with which a neuron is activated determines the perceived strength of the signal. For example, to use random numbers, if a cell with one pigment is activated 10 times a second and a different one is activated fifteen times a second, the brain will interpret this as meaning the second color is more abundant.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
9K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 8 ·
Replies
8
Views
30K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 10 ·
Replies
10
Views
2K