Web tools

Color Converter

Convert a color between HEX (hexadecimal), RGB (red, green, blue), HSL (hue, saturation, lightness) and OKLCH (perceptual lightness, chroma, hue).

Runs locally
Input: up to 256 bytes. Data stays in your browser.
Guide

Read a color in several representations and compare them with a visible sample. Transparency is preserved. A notice tells you when the sample has been adjusted to fit the standard display range.

  1. Enter one color

    Paste a color value or choose Example red. The sample shows how the color looks on this display.

  2. Read the result

    Read the four values. For wide-gamut colors, a notice explains any adjustment to the display version.

  3. Keep the result

    On mobile, choose Output. Choose Download to keep the result on your device.

On mobile, choose Output to read the result. Clear removes both fields.

Formats

  • HEX uses hexadecimal digits.
  • RGB sets red, green, blue and optional transparency.
  • HSL sets hue, saturation and lightness.
  • OKLCH uses perceptual lightness, chroma and hue.
Shortcuts
  • Ctrl / Cmd + Enter — Run selected action
  • Ctrl / Cmd + Shift + C — Copy output
  • Ctrl / Cmd + S — Download output
  • ? — Show shortcuts outside text fields

Shortcuts work while focus is in the workspace. Copy and download need valid output.

Common questions
Does this open external addresses?
No. The tool processes what you enter in this browser. Addresses and image links stay text.
When does the result update?
Choose an example for an immediate result, or pause after typing. A blank or invalid entry clears the previous result.
How much can I enter?
Input is limited to 256 bytes on this page. Output is limited to 2 MB.

Was this tool helpful?

Only your rating and optional feedback are sent. Your tool input and output are never included.