Color Picker
Pick colors visually and get HEX, RGB, and HSL values.
Pick any colour and get its HEX, RGB, HSL, HSV and CMYK values and the nearest CSS colour name. Use the colour picker, type a HEX, RGB or HSL value or a colour name, or adjust hue, saturation and lightness with sliders. You'll also get a row of tints and shades to click, and the contrast ratio against white and black text. In Chrome and Edge you can sample a colour from anywhere on your screen with the eyedropper, and you can upload an image and click any pixel to grab its colour.
| HEX | #2563EB | |
|---|---|---|
| RGB | rgb(37, 99, 235) | |
| HSL | hsl(221, 83%, 53%) | |
| HSV / HSB | hsv(221, 84%, 92%) | |
| CMYK | cmyk(84%, 58%, 0%, 8%) | |
| CSS name | royalblue (closest) |
Tints and shades (click to use)
Contrast with white text: 5.17:1 (passes AA) · with black text: 4.06:1 (fails AA)
Pick a color from an image
Then click anywhere on it to grab that pixel's color.
Common use cases
- Find the HEX or RGB code for a colour to use in CSS, Figma or Canva
- Get the colour of a pixel in a logo, photo or screenshot
- Convert a colour between HEX, RGB, HSL and CMYK
- Find lighter and darker versions of a brand colour
How to use
- Click the colour box to pick a colour, or type a value such as #3b82f6, rgb(59 130 246) or a colour name.
- Adjust hue, saturation and lightness with the sliders.
- Copy the format you need from the table.
- Click a tint or shade to use it, or upload an image and click a pixel to pick from it.
FAQ
How do I get the colour code from an image?
Upload the image under 'Pick a color from an image' and click the spot you want; that pixel's colour fills in, with all its codes. In Chrome and Edge, the eyedropper button can also pick from anywhere on your screen.
What's the difference between HEX and RGB?
They describe the same colour. RGB gives the red, green and blue amounts from 0 to 255; HEX writes those three numbers in hexadecimal, so rgb(255, 0, 0) is #ff0000.
Is the CMYK value accurate for printing?
It's a simple mathematical conversion, useful as a starting point. Real print colours depend on the printer, paper and colour profile, so check with your printer for exact matches.
Related tools
- HEX to RGBConvert HEX color codes to RGB values.
- RGB to HEXConvert RGB color values to HEX color codes.
- Color Contrast CheckerCheck the contrast ratio of text and background colours against WCAG AA and AAA for normal text, large text…
- Color Wheel: Find Matching ShadesFree online color wheel: pick a shade and see its complementary, analogous, triadic and other schemes, on a…
- HSL to RGBConvert HSL color values to RGB format.
- Color Palette GeneratorIn Generators
- Random Color GeneratorIn Generators
- HEX Color ListIn Reference