Color Code Utility

Chroma Studio

R random C copy hex S save favorite
6D5EF0
#6D5EF0

Code Export

Variable snippets for the current color.

Export Full Palette Set

Base color + harmonies + shades, bundled as a file.

CSS Gradient Builder

Linear, radial or 4-corner mesh gradients.


Angle 90ยฐ

Palette Generator

Generate a themed 5-color palette.

Light Palette Templates

Soft, ready-made palettes โ€” click any swatch to apply.

Curated Gallery

Image Color Extraction

๐Ÿ–ผ๏ธ

Drag & drop an image here, or click to browse.

Dominant colors are extracted entirely offline in your browser.

uploaded preview

Click anywhere on the image to sample that exact pixel color.

Color Library

700+ predefined colors across 9 categories.

Blend Colors

Interpolate between two colors across adjustable midpoints.

Balance 50%
Midpoints 15

Color Palette

Harmony Palettes

Generated live from the current base color.

Favorites & History

Favorites

History

Shades & Tints

16 automatically generated steps, darkest โ†’ lightest.

Color Formats

Edit any field โ€” every other format updates instantly.

RGB & HSL Sliders

Fine tune channel values directly.

R 0
G 0
B 0
H 0ยฐ
S 0%
L 0%
Opacity 100%

Accessibility & Contrast

WCAG contrast ratio, luminance and color-blindness preview.

Aa on White
21.00:1 AAAAA AA LargeAAA Large
Aa on Black
21.00:1 AAAAA AA LargeAAA Large
Relative Luminance
0.000
Perceived Brightness
0%
Suggested Text
โ€”
Nearest Named Color
โ€”
Color Blindness Simulation
Protanopia
Deuteranopia
Tritanopia
Normal Vision
๐ŸŽจ

Free Online Color Code Converter & Color Picker

Chroma Studio is a free color code converter and color picker that works entirely in your browser. Use it to convert HEX to RGB, RGB to HSL, and other color formats instantly, generate color palettes and gradients, check WCAG contrast ratios for accessibility, and build a design system color palette โ€” all without installing anything or sending your data anywhere.

How to Use the Color Picker

1
Pick a color

Drag inside the saturation/brightness box or the hue slider on the Main tab, or type a HEX, RGB, RGBA or HSL value directly into the Color Formats card.

2
Copy a color code

Every format has its own Copy button, so you can grab the exact HEX, RGB, or HSL code you need for CSS, design tools, or code editors.

3
Check accessibility

Open the Accessibility & Contrast card to see the WCAG contrast ratio against white and black, AA/AAA pass badges, and a color blindness simulation.

4
Build a palette

Visit Harmony Palettes for complementary, analogous, triadic, tetradic, split-complementary and monochromatic color schemes.

5
Create a gradient

Use the Gradient tab to build linear, radial or mesh CSS gradients with multiple color stops, then copy the ready-to-use CSS.

6
Export your work

Download your palette as JSON, CSS variables, SCSS variables, Tailwind config, or plain text from the Code Export section.

๐Ÿ’ก

Steps to Convert HEX to RGB (or HSL)

To convert a HEX color code to RGB or HSL, paste the HEX value into the HEX field under Color Formats. Chroma Studio instantly updates the RGB, RGBA and HSL fields to match โ€” no manual math or separate hex to rgb converter needed.

Notes

โœ“All color conversions, palette generation, and image color extraction run locally in your browser โ€” nothing is uploaded to a server.
โœ“Contrast ratios follow the official WCAG 2.1 formula for relative luminance and contrast, covering AA and AAA thresholds for normal and large text.
โœ“The color library includes 700+ predefined colors across Material, Tailwind, Bootstrap, Flat UI, Pastel, Neon, Earth, Vintage and CSS named color categories.
โœ“Favorites and color history are saved in your browser's local storage, so they persist between visits on the same device.
โœ“This tool works fully offline once loaded โ€” no external fonts, scripts, or trackers are used.