Color Picker
Pick any color and get its hex, RGB, and HSL values instantly. Free online tool.
Color Picker is a browser-based tool that lets you choose any color visually and instantly see its values in every common CSS format. It is useful for front-end developers, UI designers, and anyone who needs accurate color codes without switching between design tools or doing manual conversions.
Tool interface
The interface is straightforward and live — all outputs update as soon as you move the picker, with no button to press:
- A large color picker input that opens the browser's native color chooser
- An Opacity slider (0–100%) that unlocks RGBA and HSLA output
- Output fields for Hex, RGB, RGBA (when opacity is below 100%), HSL, and HSLA (when opacity is below 100%), each with an individual
Copybutton - Six stat cards showing the Red, Green, Blue, Hue, Saturation, and Lightness values
- A Recent colors row that keeps up to 10 previously picked colors as clickable swatches
Tool description
Most design workflows involve colors in multiple formats. Design tools like Figma and Sketch typically export hex values, while CSS stylesheets use rgb() or hsl() for dynamic theming and opacity work. Color Picker shows all formats at once, so you can copy whichever value your current task requires without running a separate conversion.
The opacity slider adds an alpha dimension across all relevant formats. At full opacity only hex, rgb(), and hsl() are shown; as soon as you reduce it, the rgba() and hsla() fields appear with the correct decimal alpha value.
The recent colors row builds up as you use the picker. Clicking any swatch instantly reloads that color so you can compare values or copy a format you missed the first time.
Common use cases:
- Picking a color on screen and exporting it as a CSS variable in the format your project uses
- Checking the HSL breakdown of a brand hex color to build a consistent tint and shade scale
- Generating RGBA or HSLA values with custom opacity for overlays, gradients, and shadows
- Keeping a short palette of recently used colors accessible during an active design or coding session
How to use
- Click the large color picker to open your browser's color chooser and select any color.
- Adjust the Opacity slider if you need RGBA or HSLA values with reduced transparency.
- Copy the value you need by clicking
Copynext to Hex, RGB, HSL, or their alpha variants. - Continue picking colors — each confirmed selection is saved to the Recent colors row.
- Click any swatch in Recent colors to reload a previously picked color.
FAQ
Is Color Picker free to use?
Yes. It is completely free and requires no account or installation.
Why are RGBA and HSLA hidden by default?
At 100% opacity, RGBA and HSLA are equivalent to RGB and HSL, so showing them would be redundant. They appear automatically as soon as you reduce the opacity slider.
What is the difference between RGB and HSL?
RGB describes a color by its red, green, and blue light intensities (0–255 each). HSL describes it by hue angle (0–360°), saturation percentage, and lightness percentage. HSL is often easier to reason about when adjusting brightness or building color scales.
Are the outputs ready to paste into CSS?
Yes. All values are formatted as valid CSS — for example #3b82f6, rgb(59, 130, 246), and hsl(217, 91%, 60%). You can paste them directly into any stylesheet or design token file.
Does it send my data to a server?
No. Everything runs locally in your browser. No color data is sent anywhere.