Color Converter

Convert between HEX, RGB, HSL, and CMYK color formats.

#
R
G
B
H
S%
L%

CSS Values

Color Format Guide

  • HEX: 6-digit hexadecimal (#RRGGBB). Most common in web development.
  • RGB: Red, Green, Blue values 0-255. Used in CSS and most programming.
  • HSL: Hue (0-360°), Saturation (0-100%), Lightness (0-100%). More intuitive for humans.

Frequently Asked Questions

Which format should I use? HEX is the most common for web. HSL is best for adjusting colors (easy to change brightness/saturation). RGB is standard for programming.

Related Calculators