Color Picker

Choose a color and copy as HEX, RGB or HSL.

100% local processing. Your data never leaves your computer
HEX#2C2824
RGBrgb(44, 40, 36)
HSLhsl(30, 10%, 16%)
CSS var44 40 36
Preview
Background
Text
Border
Translucent

About this tool

The Color Picker is a tool for selecting colors and getting their values in the formats most commonly used in web development: HEX, RGB, and HSL. Choosing the right color is a constant part of front-end development and design work, and having the correct format values available with one click saves time and avoids manual conversion errors.

To use it, click the color selector to visually pick any shade, or paste a HEX, RGB, or HSL value you already have. The tool updates all formats simultaneously and displays a preview of the color in different contexts — as background color, text color, and border color — so you can visualize how it will look in practice.

You can also adjust the alpha channel to create translucent colors, which are common in overlays, shadows, and glassmorphism effects. The resulting RGBA value is ready to copy and use directly in your CSS or any other context that accepts colors with transparency.

Practical use cases: extracting the HEX code of a color seen in a design file, converting between formats for compatibility with different systems, testing how a color works as background versus text, and preparing color palettes for use in CSS custom properties. No data is transmitted — all conversion processing happens in the browser.

Frequently asked questions

Is the Color Picker free?

Yes, completely free and no account required.

Is the data I enter sent to a server?

No. Color conversions happen entirely in the browser. No information is transmitted externally.

Does it work on mobile?

Yes. The tool works in mobile browsers. On touch devices, the native OS color picker may be activated depending on the browser.

Which color formats are supported?

HEX (with and without #), RGB, RGBA, HSL, and HSLA. You can enter any of these formats and get the others automatically.

Can I get colors with transparency (alpha)?

Yes. The picker includes an opacity control that generates the corresponding RGBA and HSLA values.