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.
Pick a color, convert between common CSS color formats, and copy ready-to-use color values for web development.
Copy CSS-ready values and review the detected format, opacity, and luminance.
#2563EBrgb(37, 99, 235)rgba(37, 99, 235, 1)hsl(221 83% 53%)hsla(221, 83%, 53%, 1)hsv(221, 84%, 92%)hsva(221, 84%, 92%, 1)#2563EBUse the color picker for visual selection, then copy the exact format your stylesheet, design token, or component needs.
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.
RGBA, HSLA, and eight-digit HEX values include opacity. Lower alpha values are useful for overlays, borders, shadows, and subtle backgrounds.
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.
Copy the CSS color string for custom properties, inline prototypes, gradients, box shadows, and component states where a browser-ready value is fastest.
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.
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.
Yes. It supports a practical set of common CSS names such as black, white, red, blue, green, orange, purple, gray, transparent, and rebeccapurple.
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.
No. The EyeDropper button is enabled only when the browser supports the API. The native color picker and manual input work as the fallback.
No. Parsing, validation, conversion, copying, and samples run locally in your browser.