hexcolors

Tools / Color converter

Color converter

Type a hex code, rgb(), hsl() or a color name.

How to use it

Three quick steps.

  1. Type a hex code, rgb(), hsl() or a color name.
  2. See the same color in every format.
  3. Click any value to copy it.

Good to know

Get better results.

  • Three-digit shorthand like #0af works too.
  • CMYK values are a mathematical conversion and will not match a printer's color profile exactly.
  • If the color has its own page, you get a link to its shades and contrast.

Common questions

How do I convert hex to RGB?

Split the hex code into three pairs and convert each pair from base 16 to a number from 0 to 255.

Why does my CMYK look different in print?

Printers use color profiles. The CMYK here is a simple conversion from RGB, so ask your printer for profile-based values for final artwork.

More tools

Keep going with a related tool.