Color Converter
Convert between HEX, RGB, HSL, HSV and HWB color formats in any direction.
100% private — everything runs in your browser
Advertisement
How to Use
- 1
Type or paste a color in any supported format — #3B82F6, rgb(59, 130, 246) or hsl(217, 91%, 60%).
- 2
All five representations — HEX, RGB, HSL, HSV and HWB — appear instantly.
- 3
Copy any value with one click.
Examples
From HEX
Input
#3B82F6Output
rgb(59, 130, 246) · hsl(217, 91%, 60%) · hsv(217, 76%, 96%) · hwb(217 23% 4%)From RGB
Input
rgb(255, 99, 71)Output
#FF6347 · hsl(9, 100%, 64%) · hsv(9, 72%, 100%) · hwb(9 28% 0%)FAQ
Which input formats are supported?
HEX codes with or without # (including 3- and 8-digit forms), rgb() / rgba() functions and hsl() / hsla() functions.
What is the difference between HSL and HSV?
Both use hue, but HSL measures lightness while HSV measures value (brightness). Design tools often prefer HSV because saturation and brightness can be adjusted independently.
Is anything sent to a server?
No — all conversions run locally in your browser.
Related Tools
HEX to RGBConvert HEX color codes to RGB values instantly — free and private.RGB to HEXConvert RGB values to a HEX color code instantly — free and private.Contrast CheckerCheck the WCAG contrast ratio between text and background colors instantly.Color PickerPick any color and copy its HEX, RGB, HSL and HSV values instantly.Gradient GeneratorCreate CSS linear and radial gradients visually and copy the CSS code.CSS Color GeneratorTurn a base color into a 10-step shade scale and export it as CSS variables.