T

Text Machine

Powerful text tools, in your browser

Color Converter

Convert any color between HEX, RGB, HSL, HSV, and CMYK. Pick a color or type a value in any format — every other notation updates instantly, right in your browser.

Color formats

HEX

RGB

HSL

HSV

hsv(18, 95%, 96%)

CMYK

cmyk(0%, 66%, 95%, 4%)

How to use Color Converter

  1. 1

    Pick or paste a color

    Click the swatch to open your color picker, or paste a value into the HEX, RGB, or HSL field. The whole tool follows whichever color you choose.

  2. 2

    Edit in any format

    Type directly into the HEX, RGB, or HSL field. Every other notation — including HSV and CMYK — recalculates the moment you make a change.

  3. 3

    Read every notation

    See the same color expressed five ways at once, so you can match a design across CSS, print, and image editors without reaching for a second tool.

  4. 4

    Copy what you need

    Use the copy button beside any value to put it on your clipboard, ready to drop into your stylesheet or design file.

Frequently asked questions

How do I convert a HEX color to RGB?
Paste your HEX code, such as #f5530c, into the HEX field. The RGB value — rgb(245, 83, 12) in this case — appears instantly below it, along with HSL, HSV, and CMYK. The conversion is exact, since HEX and RGB describe the same 8-bit color channels.
What is the difference between HSL and HSV?
Both describe a color by its hue, but HSL pairs that with saturation and lightness, while HSV (also called HSB) uses saturation and value, or brightness. HSL is common in CSS, whereas HSV appears in many image editors and color pickers. This converter shows both so you can move between design tools without doing the math by hand.
Does this support 3-digit shorthand HEX?
Yes. A shorthand code like #f50 is read as #ff5500, exactly the way a browser expands it. You can type the HEX with or without the leading hash sign, in upper or lower case.
What is CMYK used for?
CMYK — cyan, magenta, yellow, and key, which is black — is the ink model used in printing. The values shown here are a direct mathematical conversion from RGB; for color-critical print work, always confirm against your printer's specific profile, since screens and inks reproduce color differently.
Is my data uploaded to a server?
No. Every conversion runs entirely in your browser. Nothing you enter is uploaded, logged, or stored, so your work stays completely private and the tool keeps working even when you are offline.

Related tools

Keep going with these handy tools

Unix Timestamp Converter

JSON to CSV Converter

CSV to JSON Converter

JSON to YAML Converter

Text to Binary Converter

Text to Hex Converter