Color Converter
Convert between HEX, RGB, and HSL color values instantly.
Type in any field and the others update automatically.
Type in any field — the others update instantly.
Color can be represented in several formats.
HEX: A 6-digit hexadecimal code (e.g., #FF5733). Each pair of digits represents Red, Green, and Blue (00–FF).
RGB: Red, Green, Blue values from 0 to 255 each.
- White = rgb(255, 255, 255)
- Black = rgb(0, 0, 0)
- Red = rgb(255, 0, 0)
HSL: Hue, Saturation, Lightness.
- Hue: 0–360 degrees (0=red, 120=green, 240=blue)
- Saturation: 0–100% (0=gray, 100=full color)
- Lightness: 0–100% (0=black, 50=normal, 100=white)
Common colors:
| Color | HEX | RGB | HSL |
|---|---|---|---|
| Red | #FF0000 | 255, 0, 0 | 0, 100%, 50% |
| Green | #00FF00 | 0, 255, 0 | 120, 100%, 50% |
| Blue | #0000FF | 0, 0, 255 | 240, 100%, 50% |
| White | #FFFFFF | 255, 255, 255 | 0, 0%, 100% |