Color Converter

Convert colors between HEX, RGB, and HSL formats instantly in your browser. Free, offline-ready, no data sent to servers.

#000000

How to Use

  1. Type a HEX code (e.g. #ff5733), RGB value, or HSL value into any field.
  2. The other two formats update automatically.
  3. Use Pick Color to open the native color picker.
  4. Click Copy next to any field to copy that format to clipboard.

About Color Formats

HEX is the most common format for the web. A six-digit code like #1a73e8 encodes red, green, and blue channels as two hexadecimal digits each (00–FF).

RGB expresses the same channels as decimal numbers (0–255), making it easier to adjust values programmatically: rgb(26, 115, 232).

HSL stands for Hue, Saturation, Lightness — a human-readable model. Hue is 0–360°, saturation and lightness are percentages: hsl(217, 80%, 51%). HSL is ideal for generating color scales by varying lightness.

FAQ

What color formats does this tool support?

HEX (e.g. #ff5733), RGB (e.g. rgb(255,87,51)), and HSL (e.g. hsl(11,100%,60%)). All conversions are bidirectional.

Is the HEX input case-sensitive?

No. You can enter #FF5733, #ff5733, or #Ff5733 — they all produce the same result.

Can I enter a 3-digit HEX code?

Yes. #f53 is treated as #ff5533 automatically.

Is my data sent to any server?

No. All conversions happen in your browser with JavaScript.