Color Picker: HEX, RGB and HSL Converter
Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
Something went wrong running this tool. Your inputs were kept.
What is Color picker?
Color Picker — Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
Color parsing and conversion are done entirely by TinyColor (MIT), the vendored open-source color library — your input never leaves the browser. It understands HEX (including 3-digit shorthand and 8-digit alpha), RGB/RGBA, HSL/HSLA and CSS named colors. Limitations: the HEX output is the 6-digit opaque form, so alpha from rgba/hsla inputs appears only in the RGB and HSL strings; rare CSS Color 4 formats like lab() or color() may not parse and get a clear error instead of a guess.
Why use this color picker?
Built for color picker
Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
Transparent & honest
HEX output is the 6-digit opaque form; if you need the alpha channel, use the RGB or HSL strings.
Private by design
Everything runs in your browser. Your inputs never leave your device.
Works everywhere
Fully responsive — perfect on desktop, tablet, and mobile. No app needed.
Regularly updated
Regularly maintained and reviewed to ensure accuracy.
Free forever
No accounts, no limits, no watermarks. Use Color Picker as much as you need.
How to use Color Picker
- 1Type or paste any color into the "Color" field — try #7c3aed, rgb(124, 58, 237), hsl(262, 83%, 58%) or a name like rebeccapurple.
- 2Run the tool to parse the color with the TinyColor engine.
- 3Read the three result boxes: HEX, RGB and HSL.
- 4Copy whichever format your project needs — all three are ready to paste into CSS.
- 5Try a shorthand like f0f or an alpha value like rgba(124, 58, 237, 0.5) to see how each output format handles them.
What can you do with Color Picker?
- Convert rgb to hex — Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
- Convert hex to rgb — Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
- Hex color picker — Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
- Find html color codes for website — Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
- Free hsl color picker — Convert any color instantly with this free color picker — paste HEX, RGB or HSL and get all three formats, ready to copy straight into your CSS.
Good to know
- HEX output is the 6-digit opaque form; if you need the alpha channel, use the RGB or HSL strings.
- 3-digit shorthand like f0f is expanded to its full 6-digit form (#ff00ff).
- If a color cannot be parsed, the tool says so — it never silently rounds or guesses.
How it works
Color parsing and conversion are done entirely by TinyColor (MIT), the vendored open-source color library — your input never leaves the browser. It understands HEX (including 3-digit shorthand and 8-digit alpha), RGB/RGBA, HSL/HSLA and CSS named colors. Limitations: the HEX output is the 6-digit opaque form, so alpha from rgba/hsla inputs appears only in the RGB and HSL strings; rare CSS Color 4 formats like lab() or color() may not parse and get a clear error instead of a guess.
Examples
Status: ok — HEX #7c3aed, RGB rgb(124, 58, 237), HSL hsl(262, 83%, 58%).
Status: ok — HEX #22c55e, the RGB and HSL strings follow.
Status: error — a friendly message suggesting valid formats like #7c3aed or rgb(124, 58, 237).
Related searches
People also search for these — this tool handles them all: