Color Picker and Converter

Click the color bar to pick a color, or paste any HEX, RGB or HSL code to convert it.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the color picker / hex to rgb

  1. Click the large color bar to open your device's color picker, or type a code in the box.
  2. Read the same color in HEX, RGB, HSL, HSV and CMYK.
  3. Press Copy next to the format you need.
  4. Click any tint, shade or harmony swatch to copy its HEX code.

Color formats explained

FormatExampleWhere it is used
HEX#3B5BFDWeb design, CSS, most design apps
RGBrgb(59, 91, 253)Screens, CSS, image editors
HSLhsl(230, 98%, 61%)CSS. Easy to adjust by hand: hue, saturation, lightness
HSV / HSBhsv(230, 77%, 99%)Color pickers in Photoshop, Figma and similar apps
CMYKcmyk(77%, 64%, 0%, 1%)Printing

How HEX and RGB relate

A HEX code is simply RGB written in base 16. The six digits are three pairs: red, green and blue, each from 00 (0) to FF (255). So #FF8800 is red 255, green 136, blue 0. A three-digit code such as #F80 is shorthand for #FF8800.

A note on CMYK

Screens mix light (RGB) and printers mix ink (CMYK), and screens can show bright colors that ink cannot reproduce. The CMYK values here are the standard mathematical conversion, which is fine for a quick reference. For professional print work, convert in design software using the color profile your printer supplies.

Common colors

ColorHEXRGB
Black#0000000, 0, 0
White#FFFFFF255, 255, 255
Red#FF0000255, 0, 0
Green#0080000, 128, 0
Blue#0000FF0, 0, 255
Yellow#FFFF00255, 255, 0
Orange#FFA500255, 165, 0
Purple#800080128, 0, 128
Pink#FFC0CB255, 192, 203
Gray#808080128, 128, 128
Navy#0000800, 0, 128
Teal#0080800, 128, 128

To pull a color out of a photo, use the image color picker.

Frequently asked questions

How do I convert HEX to RGB?

Paste the HEX code into the box. To do it by hand, split the code into three pairs and convert each from base 16: #3B5BFD is 3B = 59, 5B = 91, FD = 253.

Can I pick a color from my screen?

In Chrome and Edge on a computer, a button appears that lets you pick any pixel on your screen. Other browsers do not support this yet.

What is the difference between HSL and HSV?

Both describe a color by hue and saturation. HSL uses lightness, where 50% is the pure color. HSV uses value, where 100% is the pure color.

Is anything I enter sent to a server?

No. The tool runs entirely in your browser, so what you type never leaves your device.

Related tools