Skip to main content

Color Converter

Convert a color between HEX, RGB, HSL, and HSV online for free, with a visual color picker. Edit any format and the others update instantly — nothing sent to a server.

Your files are processed locally in your browser and are not uploaded to our servers.

How to use Color Converter

  1. 1

    Type a color into any field — HEX, RGB, HSL, or HSV — or click the swatch to pick one visually.

  2. 2

    The other three formats update instantly to match.

  3. 3

    Click the copy icon next to any field to copy that value.

Common uses

  • Converting a designer's HEX code to the RGB or HSL a codebase uses
  • Fine-tuning a color's lightness or saturation using HSL/HSV sliders-style input
  • Checking what color a HEX or RGB value actually looks like

Supported formats and limitations

Accepts text, up to one file at a time.

  • Supports opaque RGB colors only — no alpha/transparency channel.
  • HEX input accepts 3-digit and 6-digit forms; HSL/HSV percentages are rounded to whole numbers, so round-tripping between formats can shift a color by a unit or two out of 255 — imperceptible, but not always bit-for-bit identical.

Frequently asked questions

No. All conversion happens entirely in your browser — nothing is sent to a server.

HEX ("#3B82F6" or the short "#38F"), RGB ("rgb(59, 130, 246)" or bare "59, 130, 246"), HSL ("hsl(217, 91%, 60%)"), and HSV ("hsv(217, 76%, 96%)") — with or without the function-name wrapper.

No — this converts opaque colors only, with no alpha channel.

HSL and HSV are shown as whole-number percentages for readability, which can lose a small amount of precision when converting back to RGB — the shift is at most a couple of units out of 255, not visible to the eye.

Related tools