Back to Tools

Color Picker

Grab the exact color from a picture, a spectrum or anywhere on your screen, and copy it in the format you need.

#5A24EC≈ blueviolet

Type HEX, rgb(), hsl(), hsv(), cmyk() or a CSS color name.

HEX#5A24EC
RGBrgb(90, 36, 236)
HSLhsl(256, 84%, 53%)
HSVhsv(256, 85%, 93%)
CMYKcmyk(62%, 85%, 0%, 7%)
CSSblueviolet (nearest)

About the Color Picker

Pick a color from a spectrum, from a picture or from anywhere on your screen, and copy it as HEX, RGB, HSL, HSV or CMYK, or as a CSS color name. You can also type a value in one format to see it in all the others.

How to use it

  1. Choose Spectrum, From image or Sampler.
  2. Drag across the spectrum, or click a pixel in your image, to select a color.
  3. Copy the format you need, or type a value to convert it.

Tips

  • Use the magnifier on the image tab to land on an exact pixel.
  • Pick from flat areas rather than edges or gradients, where colors vary from pixel to pixel.
  • Before using a color for text, check that it contrasts well with its background so it stays readable.

Questions

Why does the CSS color name say "nearest"?
CSS has only 148 named colors. The tool shows an exact match if there is one, and otherwise the closest name.
Is the screen sampler available in every browser?
It uses the browser's EyeDropper feature, which is available in Chrome, Edge and Opera.
Which format should I use on a website?
HEX is the most common in CSS. RGB and HSL are handy when you want to adjust transparency or lightness.

Your files are processed in your browser and are never uploaded. See our Privacy Policy.