A LITTLE CLARITY, RIGHT HERE

HTML Color Converter

Convert HEX, RGB and HSL colors with synchronized inputs, a native color picker and a live preview. Copy each format without uploading your colors.

Let’s work it out.

On your device
Convert a color
Choose any solid color.
Use #RGB or #RRGGBB. Short codes expand to six digits.
RGB Red, green and blue
HSL Hue, saturation and lightness

Hue 360° is equivalent to 0°. HSL results display up to two decimal places; RGB uses whole numbers. Alpha/transparency is not included.

HEX#195B46
RGBrgb(25, 91, 70)
HSLhsl(160.91, 56.9%, 22.75%)

WCAG AA: at least 4.5:1 for normal text, or 3:1 for large text (18pt regular or 14pt bold). Ratios use sRGB relative luminance; displayed ratios are rounded.

Technical numeric controls use a decimal point, without thousands separators. CSS and machine-readable output always use invariant syntax.

Processed in your browser. Your content is not sent to KEVEEK.

How to use this tool

Choose a color or edit HEX, RGB or HSL. Valid edits update every representation and the preview immediately. Copy the format you need or reset to the default KEVEEK green.

How it works

HEX represents three 8-bit RGB channels. HSL expresses the same sRGB color as hue, saturation and lightness. Conversions normalize HEX to six digits and round displayed values; the preview retains the last valid color while input is incomplete.

A QUICK EXAMPLE

Put it into practice.

#FF0000 is RGB 255, 0, 0 and HSL 0°, 100%, 50%. The short HEX #0F0 expands to #00FF00.

Good to know

This version converts opaque sRGB colors only. Alpha channels and wide-gamut color spaces are not supported. RGB channels are integers from 0 to 255; HSL hue is 0–360 and saturation/lightness are 0–100%. Rounded HSL display values can produce small round-trip differences.

Common questions

Does changing a color upload it?

No. Every conversion and preview runs locally in your browser.