Color Picker / Color Converter

Pick a color, convert between common CSS color formats, and copy ready-to-use color values for web development.

Color input

Pick a color or enter HEX, RGB, RGBA, HSL, HSLA, HSV, or a common CSS color name.

Processed locally in your browser Limit local color values. Your input is processed in your browser and is not uploaded or sent to a server. Avoid pasting production secrets, access tokens, private keys, passwords, or sensitive customer data unless you understand the risk.
Modern space-separated CSS syntax and classic comma syntax both work.

Sample colors

Converted color

Copy CSS-ready values and review the detected format, opacity, and luminance.

#2563EBrgb(37, 99, 235)
Detected format
HEX
Alpha
100%
Luminance
0.153
Text on swatch
#ffffff
HEX#2563EB
RGBrgb(37, 99, 235)
RGBArgba(37, 99, 235, 1)
HSLhsl(221 83% 53%)
HSLAhsla(221, 83%, 53%, 1)
HSV / HSBhsv(221, 84%, 92%)
HSVAhsva(221, 84%, 92%, 1)
CSS color#2563EB

Convert CSS colors without leaving the browser

Use the color picker for visual selection, then copy the exact format your stylesheet, design token, or component needs.

HEX vs RGB vs HSL

HEX is compact for design tokens, RGB maps directly to screen channels, and HSL is often easier when adjusting hue, saturation, or lightness by hand.

Alpha transparency

RGBA, HSLA, and eight-digit HEX values include opacity. Lower alpha values are useful for overlays, borders, shadows, and subtle backgrounds.

HSV and HSB

HSV, also called HSB, describes hue with saturation and brightness. It is common in design tools and helpful when comparing picked colors to CSS output.

CSS color usage

Copy the CSS color string for custom properties, inline prototypes, gradients, box shadows, and component states where a browser-ready value is fastest.

Picker vs converter

The picker starts from a visual swatch. The converter starts from a typed value and normalizes it into formats that are easier to compare and reuse.

Local processing

Color values are parsed and converted in the current tab. The tool does not call an external API or send entered colors to a backend.

Color Picker FAQ

Does this Color Picker support CSS named colors?

Yes. It supports a practical set of common CSS names such as black, white, red, blue, green, orange, purple, gray, transparent, and rebeccapurple.

Can I convert RGB to HEX or HSL?

Yes. Enter RGB or RGBA with commas or modern space-separated syntax, and the tool returns HEX, RGB, RGBA, HSL, HSLA, HSV, and CSS strings.

Does the EyeDropper work in every browser?

No. The EyeDropper button is enabled only when the browser supports the API. The native color picker and manual input work as the fallback.

Are my colors uploaded?

No. Parsing, validation, conversion, copying, and samples run locally in your browser.