Color Converter

Convert between HEX, RGB, and HSL color formats

Color Format Guide

HEX

Hexadecimal color codes use 6 digits: #RRGGBB. Shorthand: #RGB (e.g., #F00 = #FF0000).

RGB

rgb(red, green, blue) where each value ranges from 0 to 255.

HSL

hsl(hue, saturation%, lightness%) — Hue: 0-360, Saturation: 0-100%, Lightness: 0-100%.

How to Use

  1. Enter a color in any supported format (HEX, RGB, or HSL)
  2. View the color converted to all formats with a visual preview
  3. Copy any format you need

Frequently Asked Questions

What is HEX color?

HEX color is a way to represent colors using hexadecimal values. A HEX color code starts with # followed by 6 hex digits (e.g., #FF6B35). Each pair represents Red, Green, and Blue intensity from 00 to FF.

What is the difference between RGB and HSL?

RGB defines colors by Red, Green, and Blue channel values (0-255). HSL defines colors by Hue (0-360 degrees), Saturation (0-100%), and Lightness (0-100%). HSL is often more intuitive for humans.

Is my data safe?

Yes. All conversions happen in your browser. No data is sent to any server.