Skip to content

Color converter. One color, every format.

Paste HEX, rgb(), rgba() or hsl(), it auto-detects.

Runs entirely in your browser, click any value, chip or the swatch to copy.

All formats · click to copy
Tints & shades

Lightness ramp from your hue & saturation, click any chip to copy its HEX.

One color, every format

Designers think in HEX, CSS wants RGB or HSL, print needs CMYK, and color pickers love HSV. Drop a color in once and copy whichever notation your tool expects, accurate, instant, and 100% local. Edit any field and the rest follow.

§ · written guide

How to use the Color Converter

This converter takes one color and shows it as HEX, RGB, HSL, HSV and CMYK at the same time. It reads whatever you paste, works out the red, green and blue values, and recalculates every other format from them as you type. It is for designers and developers who need the same color in the notation a different app or stylesheet expects.

Step by step

  1. Enter a color

    Type or paste into the text box next to the Color picker. It accepts HEX with 3, 4, 6 or 8 digits (with or without #), rgb(), rgba(), hsl() and hsla(). You can also click the Color picker square and choose a color visually. The page starts on #3F6B54.

  2. Read every format

    The All formats panel lists HEX, RGB, HSL, HSV and CMYK. They update the moment the input holds a color the tool can read. If a value does not change while you type, the text is not a complete color yet.

  3. Edit a format directly

    The HEX, RGB and HSL rows are editable. Type a new value in one of them and every other row follows. The RGB row only accepts rgb() or rgba() text and the HSL row only accepts hsl() or hsla() text. HSV and CMYK are read only.

  4. Set transparency

    Drag the Alpha slider from 0 to 100 percent. Below 100 the HEX becomes 8 digits, RGB becomes rgba() and HSL becomes hsla(), and the swatch shows the color over a checkerboard. Pasting an 8 digit HEX or an rgba() value moves the slider for you.

  5. Copy what you need

    Press Copy beside any row to copy that format. Clicking the large swatch copies the HEX. A short message at the bottom of the screen confirms what was copied.

  6. Pick a lighter or darker variant

    The Tints & shades strip shows 11 chips that keep your hue and saturation and change only the lightness. Click a chip to copy its HEX.

Reading the result

  • The default #3F6B54 reads as rgb(63, 107, 84), hsl(149, 26%, 33%), hsv(149, 41%, 42%) and cmyk(41%, 0%, 21%, 58%).
  • HSL and HSV share the same hue but measure differently. HSL lightness runs from black through the pure color to white, while HSV value runs from black to the pure color only, so the two percentages rarely match.
  • The small number on each Tints & shades chip is its HSL lightness. The chips run from 92 down to 8, and the sixth chip always uses your current lightness, so for the default color it reads 33 and sits between 52 and 38.
  • With Alpha at 50 the default reads #3F6B5480 and rgba(63, 107, 84, 0.5). The last two HEX digits are the alpha on a 00 to FF scale.

Tips and common mistakes

  • CMYK here is the plain math conversion with no printer profile, so treat it as a starting point and do the final print conversion in your design software.
  • HSV and CMYK carry no alpha. If you need transparency, copy the HEX, RGB or HSL row.
  • The Color picker square has no alpha control. Choosing a color with it keeps whatever Alpha is already set on the slider.
  • When you paste a value that includes alpha, check the Alpha slider afterwards. A HEX or rgb() without alpha leaves the slider where it was rather than resetting it to 100.

Privacy and limits

All conversion happens in your browser. Nothing you type is sent anywhere and nothing is saved, so the page opens on #3F6B54 again after a reload. Once the page has loaded it keeps working without a connection.

Back to the tool

§ 02 · what you can do

Everything a converter should do.

Auto-detect inputPaste HEX (3, 4, 6 or 8 digits), rgb(), rgba() or hsl(), the format is recognised automatically.
Every format at onceHEX, RGB(A), HSL, HSV and CMYK, all recalculated live as you type or pick.
Edit in any directionThe HEX, RGB and HSL rows are editable, change one and every other value follows.
Alpha done rightA transparency slider with 8-digit HEX, rgba() and hsla() output, previewed over a checkerboard.
Tints & shades rampAn 11-step lightness ramp from your hue and saturation, click any chip to copy its HEX.
One-click copyEvery value, the swatch and every ramp chip copies straight to your clipboard.
§ 04 · faq

Frequently asked questions.

Is the Color Converter free?
Yes, completely free for everyone. No sign-up, no account and no usage limits.
Is it private? Is my color data uploaded anywhere?
No upload, ever. Every conversion runs entirely in your browser on your own device, nothing is sent to a server.
Which color formats does it support?
Input: HEX in 3, 4, 6 or 8-digit form (with or without the #), rgb(), rgba(), including percentage channels, hsl() and hsla(). Output: HEX (8-digit when alpha is set), RGB or RGBA, HSL or HSLA, HSV and CMYK.
Does it handle transparency (alpha)?
Yes. Use the Alpha slider, or paste a 4/8-digit HEX, rgba() or hsla() value and the alpha is picked up automatically. The swatch shows semi-transparent colors over a checkerboard, and the HEX, RGB and HSL outputs switch to their alpha forms.
How accurate is the CMYK value?
It's the standard mathematical RGB-to-CMYK conversion, great as a reference, but it doesn't apply an ICC printing profile. For production print work, do the final conversion in your design software with the printer's profile.
Does it work offline?
Yes, once the page has loaded, all parsing, converting and copying happens locally, so it keeps working without a connection.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply