
Pixel-accurate colour picking with loupe, palette export and contrast checks.
Convert HEX, RGB, HSL and CSS variables, with a live swatch plus nine tints and shades.
Your files never leave your device. Everything runs in your browser.
Colour values arrive in different formats depending on the tool that produced them: design software exports hex, CSS wants rgb or hsl, and documentation often needs all three side by side. Color Converter takes one hex value and returns the matching RGB, HSL and CSS custom-property forms in a single view with a live swatch.
Below the conversion rows is a tint and shade ramp built from the current colour. Four lighter steps mix the colour toward white, four darker steps mix it toward black, and the labels show the mix percentage. Clicking any swatch loads it as the working colour, which makes the tool a quick way to build a palette from one brand value.
The converter covers screen colour formats only. It accepts three-digit and six-digit hex codes, does not handle alpha, and does not attempt CMYK, OKLCH or ICC profiles. HSL output is rounded to whole numbers, so treat it as a readable approximation rather than a round-trip guarantee.
#3B82F6 gives rgb(59, 130, 246) and hsl(217, 91%, 60%), with a CSS variable line you can paste as --color: #3B82F6;.#f00 becomes #FF0000, or rgb(255, 0, 0) and hsl(0, 100%, 50%).#629BF8 and the -20% shade is #2F68C5. The +80% tint is nearly white and the -80% shade is nearly black.#3B82F680 are ignored, and the previous valid colour stays on screen.HEX, RGB, HSL and the CSS custom-property syntax. HSV, CMYK and OKLCH are not included, and named CSS colours such as tomato must be converted to hex first.
No. Only opaque three-digit and six-digit hex values are recognised. Eight-digit hex with an alpha channel is ignored, and the last valid colour remains in the output.
Each channel is moved toward 255 for tints or toward 0 for shades by 20, 40, 60 and 80 percent, then rounded to the nearest integer. The base colour is shown as +0%.
The typed value was not a valid three-digit or six-digit hex code, so the converter kept the previous colour, which the picker continues to supply. Correct the hex or use the picker to set a new colour.
Hue, saturation and lightness are rounded to whole numbers for readability. Converting back to RGB can therefore shift a channel slightly, which is fine for CSS but worth knowing in a colour pipeline.
No. The preview, conversions and swatches are all computed in your browser.
Related convert tools: Image Color Picker, Color Palette Extractor, CSS Unit Converter.
Colour values and previews are processed in your browser — nothing is uploaded.