Skip to content
Engyna

Color Picker & Converter

Convert any color between HEX, RGB, HSL, HWB, OKLCH, CMYK and CSS names, or pick one from your screen.

How to use the Color Picker & Converter

  1. 1Type or paste a color in any format, pick one with the color picker, or pick it from your screen with the eyedropper.
  2. 2Read the same color as HEX, RGB, HSL, HWB, OKLCH, OKLab, HSV and CMYK, plus its nearest CSS color name.
  3. 3Copy the format you need, adjust the opacity, or click a tint or shade to use it instead.

About Color Picker & Converter

The Color Picker & Converter turns any color into every common notation at once. Enter a HEX code with or without alpha, rgb(), hsl(), hwb(), oklch(), oklab(), hsv(), cmyk(), a CSS color name like rebeccapurple or plain r, g, b numbers, and you get the color as HEX, RGB, HSL, HWB, OKLCH, OKLab, HSV/HSB and CMYK, each with a copy button. It also finds the nearest of the 148 CSS named colors, measured by perceptual distance in OKLab, and tells you when the color is an exact match.

Choose a color with the native color picker, or use the eyedropper to pick any pixel on your screen in browsers that support the EyeDropper API, such as Chrome and Edge on the desktop. An opacity slider adds an alpha channel, written as 8-digit HEX or with a slash in the CSS functions. A row of tints and shades steps through OKLCH lightness at the same hue, and the contrast panel shows the WCAG contrast ratio against white and black with AA and AAA results. For any other pair of colors, use the Contrast Checker.

Web designers and front-end developers use the color code converter to move colors between design tools and CSS, convert HEX to RGB or HSL, adopt modern OKLCH colors, and identify a color seen on screen. Print designers get a starting CMYK value, and everyone can copy the exact color code they need in one click.

Frequently asked questions

How do I convert HEX to RGB?

Split the six hex digits into three pairs and convert each pair from base 16 to a number from 0 to 255. #3B82F6 becomes 3B = 59, 82 = 130 and F6 = 246, so rgb(59 130 246). Paste the HEX code above to get it instantly.

What is OKLCH and why use it?

OKLCH describes a color by perceived lightness, chroma (colorfulness) and hue. Unlike HSL, equal lightness values look equally light across hues, which makes palettes and accessible color scales easier to build. All current browsers support oklch() in CSS.

Is the CMYK value accurate for printing?

It is a simple mathematical conversion without a color profile, good as a starting point. Printers convert with an ICC profile for their paper and inks, so check important colors with your print shop or a proof.

How do I pick a color from my screen?

Click the eyedropper button next to the input and then click anywhere on the screen. It needs the EyeDropper API, available in Chrome, Edge and Opera on the desktop; in other browsers use the color picker or paste a value.

What does the alpha value in an 8-digit HEX code mean?

The last two digits set the opacity from 00 (transparent) to FF (opaque). #FF634780 is tomato at about 50% opacity, the same as rgb(255 99 71 / 0.5).