Back to Tools

Color Converter

My tools
No tools yet

Loading...

Convert colors online (HEX, RGB, HSL, HSV, live)

  1. 1

    Enter or pick a color

    Type into any format field (valid input applies immediately) or pick with the native panel; the swatch shows the current color and alpha live.

  2. 2

    Read the synced values

    The other three formats update instantly; HSL/HSV percentages keep one decimal and alpha is quantized per CSS convention.

  3. 3

    Copy the format you need

    Each format's copy button copies the normalized output (clamping and alpha-omission rules applied), ready to paste into CSS or design tools.

Features Overview

Color converter online: real-time conversion between HEX, RGB, HSL, and HSV, with alpha (rgba()/8-digit hex) supported throughout. Change any format and the others update instantly; native color picker and a large swatch preview included. All local.

Tool Description

Free online color converter. Live conversion across HEX (including 8-digit alpha short forms), RGB(A), HSL(A), and HSV/HSB — edit one format and the rest sync instantly; native picker, checkerboard preview, automatic clamping, and one-click normalized copy. All local.

Last updated

Capabilities Checklist

  • Four formats, live conversion: HEX (3/4/6/8-digit short forms), RGB(A), HSL(A), and HSV (HSB accepted) — edit any format and, once valid, the other three sync instantly, no convert button needed.
  • Alpha throughout: rgba()/hsla() decimals and 8-digit hex (#RRGGBBAA) map to each other, quantized per CSS Color 4; the alpha segment is omitted from output when a=1.
  • Picker + swatch preview: the native color panel picks in one click (RGB only, alpha untouched), and the checkerboard-backed swatch shows translucency at a glance.
  • Forgiving input: the # prefix is optional, case-insensitive, out-of-range values clamp (rgb(300,0,0) becomes 255), hue angles mod 360, and S/L accept both percentages and decimals.
  • A copy button per format copies the normalized output; invalid input only flags that field without interrupting the others. Nothing is uploaded.

User feedback

Your feedback will be reviewed (and redacted if needed) before it appears publicly. Please do not include emails, passwords, or other personal information.

Your feedback helps us do better ❤️

Related Tools

Related Guides

Frequently Asked Questions

Which color formats and notations are supported?
Four formats: HEX (3/4/6/8-digit short forms, optional # prefix, case-insensitive), RGB and rgba(), HSL and hsla(), and HSV (HSB accepted as a synonym). The alpha channel runs through all of them: rgba()/hsla() decimals and the 8-digit hex AA segment map to each other.
Why does editing HSL and switching back to RGB differ by 1?
It is the physical limit of display precision, not a bug: HSL/HSV values show one decimal (0.1% precision is about 0.25 of an RGB channel), so a round trip through the displayed text can shift a channel by ±1 (roughly half of all colors). Internally the tool keeps floating-point state so conversions that bypass the display layer have zero drift; ±1 on display round trips is the information-theoretic limit.
What happens to alpha after picking a color?
The native picker only sets the red, green, and blue channels (the HTML picker control has no alpha), so your current alpha value stays unchanged. Translucency shows on the checkerboard-backed preview swatch, and the alpha value is edited in the alpha segment of the rgb()/hex formats.
Are HSV and HSB the same thing?
Yes. HSV (Hue/Saturation/Value) and HSB (Hue/Saturation/Brightness) are two names for the same color model (a naming difference across software). The tool accepts both function names. Note that HSV is a color model, not CSS syntax — CSS standardizes HSL, and their lightness parameters (V versus L) are defined differently.
How is out-of-range input (like rgb(300,0,0)) handled?
Automatic clamping: RGB channels clamp to 0-255, hue angles mod 360 (negatives wrap), and saturation/lightness/alpha clamp to their ranges. Unparseable input (such as the rgb(50%,0%,0%) percentage syntax or invalid characters) flags that field in red while the other formats keep the last valid color.