Why designers and developers use a HEX, RGB, HSL, and CMYK converter
Product teams juggle design tokens, Figma specs, CSS, and print briefs. A single brand color might be noted as HEX in a repo, rgb() or hsl() in stylesheets, and CMYK for brochures. This tool keeps those views in sync: pick once, copy the format your stack needs. Searchers often look for HEX to RGB converter, RGB to HSL online, or RGB to CMYK for print—the math here matches common sRGB conversions used on the web, with clear copy buttons so you do not retype values by hand.
For accessibility workflows, picking a foreground or background is only half the job; you still need contrast ratios against neighboring colors. After you lock a hue here, open the WCAG contrast checker to validate AA/AAA targets. To explore complementary or triadic sets from a base swatch, use the palette generator.
How to use this color picker (step by step)
- Choose a color with the native color input, or type a HEX code (three- or six-digit). The large swatch updates live.
- Fine-tune R, G, B (0–255), H, S, L, or C, M, Y, K fields—all representations stay linked to the same sRGB color.
- Press Copy (with the copy icon) beside HEX, RGB, HSL, or CMYK to copy that string to the clipboard for CSS, Slack, or tickets.
- On Chromium browsers, try Sample from screen to use the system eyedropper on any pixel on your display.
- Click Upload image (upload icon), select a raster image, then click the preview to sample a pixel—ideal for matching UI colors from screenshots.
CMYK vs screen color: what to tell your print vendor
Monitors emit light (RGB); ink on paper absorbs it (CMYK). Any RGB to CMYK conversion is a model, not a guarantee of how a specific press will look. Use the CMYK copy here as a starting reference and always follow up with a physical proof and your printer's ICC profile. For purely digital work—websites, apps, and Figma—stick to HEX or RGB/HSL in sRGB.
Related design tools on this site
Explore the full Design & color tools section. Highlights:
- Color Contrast Checker — Test text and background pairs against WCAG AA and AAA contrast ratios for accessible UI.
- Color Palette Generator — From one base hue, build complementary, triadic, analogous, and monochrome palettes.
- Gradient Generator — Design linear and radial gradients visually and copy production-ready CSS in seconds.
- Tint & Shade Generator — Generate lighter tints and darker shades from a brand color for consistent UI scales.
- Color Blindness Simulator — Preview images or palettes under common color-vision deficiencies to validate inclusive design.
- Box Shadow Generator — Tune offset, blur, spread, color, and inset shadows with live preview and copyable CSS.
- Border Radius Generator — Adjust each corner visually and export shorthand border-radius for cards and buttons.
- CSS Gradient Generator — Build multi-stop gradients with angles and stops—outputs clean, modern CSS gradients.
- Flexbox Playground — Tweak flex container and item properties and see layout updates in real time.
- CSS Grid Playground — Prototype grid templates, gaps, and placement with instant visual feedback.
- Favicon Generator — Create favicon.ico and PNG sizes from an image or text for every device and browser tab.