Color Converter

Convert hex, RGB, and HSL colors in your browser. Live swatch and copy buttons — free online color converter, no upload.

Convert colors between hex, RGB, and HSL

Paste any common CSS color notation and copy the equivalents you need for design tokens, Tailwind configs, or PDF draws — all on-device.

What you can do with it

Match a brand hex to RGB
Convert a style-guide hex into rgb() for CSS or design tools.
Tune HSL lightness
Start from a hex, inspect HSL, and adjust in your editor with confidence.

How to convert a color

  1. Paste a hex, rgb(), or hsl() value — or use the color picker.
  2. Review the hex, RGB, and HSL outputs with the live swatch.
  3. Copy the format you need.

Convert hex, RGB, and HSL without a tracking palette site

Design tokens and brand guidelines move between hex, RGB, and HSL constantly. Converting locally with a live swatch avoids pasting internal brand colors into random “color picker” sites that log queries. Copy the format you need for CSS, design tools, or documentation.

Practical CSS workflows

Start from a hex in a mockup, convert to HSL for theming tweaks, then back to hex for handoff. Use RGB when an API or canvas context expects channel values. Keep brand PDFs private with PDF tools when you export swatch sheets.

Related reading and tools

Frequently asked questions

Is conversion done locally?
Yes. Colors are parsed and converted in your browser.
Which formats are supported?
Hex (#rgb / #rrggbb), rgb()/rgba(), and hsl()/hsla().
Can I pick a color visually?
Yes. Use the native color picker once a valid color is loaded.

Related tools

View all Developer Tools