Color Picker & Converter

Pick a color, or type a HEX or RGB value, and see it converted to HEX, RGB and HSL instantly. Runs entirely in your browser.

HEX vs RGB vs HSL

HEX (like #2546d1) packs red, green and blue into a 6-character base-16 string and is the most common format in CSS and design tools. RGB expresses the same three channels as plain 0–255 numbers, which is easier to read when you're reasoning about individual color components. HSL describes a color by hue (position on a color wheel), saturation and lightness instead — often more intuitive for picking a lighter or more muted version of a color, since you can adjust lightness without changing the underlying hue.

About this tool

This tool converts colors between HEX, RGB and HSL formats — useful for grabbing a color value from a design tool in one format and pasting it into code that expects another, or for fine-tuning a color's hue, saturation or lightness.

How to use it

  1. Enter a color in any supported format (HEX, RGB or HSL), or pick one with the color picker.
  2. The equivalent values in the other formats update automatically.
  3. Click "Copy" next to any format to copy that value.

Frequently asked questions

Which color formats are supported?

HEX (like #3b82f6), RGB (like rgb(59, 130, 246)), and HSL (like hsl(217, 91%, 60%)) — the three most common formats used in CSS and design tools.

Will the converted values match exactly, or is there rounding?

Conversions between formats are mathematically precise, though HSL values are typically displayed rounded to whole numbers for readability, which is standard practice in CSS.

Is this free to use, with no limit?

Yes — convert as many colors as you like, with no sign-up required.