Calculatorism

Wavelength to RGB Calculator

Approximate RGB from a visible wavelength λ (nm, 380–750).

Input Data

Input Wavelength λ.
nm

Results

145.71
255
0
Approx. spectral RGB.

At a glance:Wavelength to RGB Calculator: enter parameters to compute results; complements related calculators.

Formula

Piecewise-linear visible-spectrum approximation (violet 380–440, green 510–580, red 645+).

How to Use

  1. Enter wavelength (nm).
  2. It returns approximate RGB.

Case Studies

λ=550 nm → green (146,255,0)

550 nm lies in the green band.

FAQ

Visible range?

About 380–750 nm; outside it returns black.

Related Tools

References

Content review: Calculatorism Science Team. Formula and numeric tests verified; results for reference only.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:Wavelength to RGB Calculator/color/wavelength-to-rgb)。