Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Colour science lab

See a colour in every model (RGB, HSL, CMYK, Lab, OKLCH), measure colour differences, and explore colour temperature, wavelengths and mixing.

How to use

  1. Colour models: type a colour (#3B6970, rgb(59, 105, 112), hsl(188, 31%, 33%) or a name such as teal) or pick one, and see it in every common model.
  2. Colour difference: type two colours to see how different they look to the eye (ΔE).
  3. Colour temperature: slide from candle light (1000 K) to blue sky (12000 K).
  4. Wavelength: slide through the rainbow to see each colour of light with its frequency and energy.
  5. Mixing: mix up to three colours as coloured lights, as paints, or as an even blend.

Keyboard and touch

← → on a sliderChange temperature or wavelength
TabMove between boxes and sliders

Tips

  • Lab and OKLab are built so that equal number steps look like equal colour steps; that is why designers use OKLCH for even gradients.
  • A ΔE 2000 below about 1 is invisible; brand colours are often held within 2.
  • Red, green and blue light add up to white; cyan, magenta and yellow ink take light away and head towards black.
  • "Warm" light has a low temperature in kelvin and "cool" light a high one: the opposite of how the words sound.
  • Screens cannot show the pure colours of single wavelengths; the lab shows the nearest colour they can.
  • CMYK here is a simple formula. Real printing needs the printer's colour profile. For contrast and palettes, use our Colour palette & contrast checker.

About this lab

Colours are sRGB (IEC 61966-2-1) with the D65 white point. CIE XYZ, Lab and LCh follow the CIE formulas; OKLab and OKLCH follow Björn Ottosson's 2020 definition as used in CSS Color 4. Colour differences use CIE76, CIE94 (graphic arts) and CIEDE2000, checked against the published test pairs of Sharma, Wu and Dalal (2005).

Colour temperature integrates Planck's black-body law against the CIE 1931 colour-matching functions, which here come from the analytic fit of Wyman, Sloan and Shirley (2013); McCamy's formula turns the chromaticity back into a temperature. Paint mixing uses a simple weighted geometric mean of reflectance, which behaves like real pigments for many mixes but is not a full Kubelka-Munk model. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product