Color picker

Pick any color and copy its HEX, RGB and HSL codes. The picker also tells you the name of the closest color.

Fine-tune

Lighter and darker

How to pick a color

  1. Drag in the color fieldLeft to right sets how strong the color is, top to bottom how bright. The bar below the field sets the hue.
  2. Fine-tune itMove the red, green and blue sliders, switch them to hue, saturation and lightness, or type a code you already have.
  3. Copy a codeClick any code to copy it, or open the closest named color for its shades, palettes and history.

What the color codes mean

CodeExampleWhat it says
HEX#D6336CRed, green and blue as three two-digit numbers in base 16. The usual code in HTML and CSS.
RGB214, 51, 108The same three amounts of light as plain numbers from 0 to 255.
HSL339°, 67%, 52%The hue as an angle on the color wheel, then saturation and lightness in percent.
HSV339°, 76%, 84%Hue, saturation and value, which is the brightness. The color field on this page is laid out this way.
CMYK0, 76, 50, 16Cyan, magenta, yellow and black ink in percent, worked out from the RGB values.
OKLCH58.8% 0.201 5.2Lightness, chroma and hue in a color space built to match how the eye judges differences.

All six codes in the table describe the same pink, #D6336C. To pick a color out of a photo, use the image color picker. To see where a color sits among every named color, open the name finder. The steps behind a hex code are worked out on the RGB to hex and hex to RGB pages.

Questions

How do I use the color picker?

Drag in the large color field: left to right changes how strong the color is, and top to bottom how bright. The bar under it sets the hue. The codes beside the picker update as you drag, and a click on a code copies it.

What is a hex color code?

A # sign followed by six digits. The first two give the amount of red, the next two green and the last two blue. Each pair runs from 00 to FF, which is 0 to 255 written in base 16. #FF0000 is pure red and #FFFFFF is white.

What is the difference between HSL and HSV?

Both start with the same hue angle. In HSL, a lightness of 50% gives the pure color and 100% gives white. In HSV, the pure color sits at 100% saturation and 100% value, and white needs the saturation at 0%. The color field on this page is laid out by HSV.

Can I pick a color from my screen?

Yes, in Chrome and Edge on a computer: press Pick from screen and click any pixel, even outside the browser. To pick from a photo in any browser, use the image color picker.

How do I find the name of a color?

The picker compares your color with every named color on RGB.wiki and lists the five closest, each with a similarity score. Open one to see its shades, palettes and history.

Are the CMYK values right for print?

They are a simple calculation from the RGB values and good for a first idea. The inks a press needs depend on the press and the paper, so a print shop converts with its own color profile.

Does a color look the same on every screen?

No. The code is exact, but screens differ in brightness, color range and settings, so the same code can look a little different from one screen to the next.

More color tools