Convert HEX ↔ RGB Instantly
Free color converter with live preview. Supports HEX, RGB, HSL, and RGBA. No sign-up required.
Tools
Everything You Need for Color
HEX ↔ RGB Converter
Real-time bidirectional conversion between HEX, RGB, HSL, and RGBA. Type or paste any color value.
Palette Generator
Generate harmonious 5-color palettes using analogous, complementary, triadic, and split schemes.
Contrast Checker
Test foreground and background colors against WCAG AA and AAA accessibility guidelines.
CSS Named Colors
Browse all 140+ CSS named colors. Click any color to instantly load it in the converter.
Generate
Color Palette Generator
Click any swatch to copy its HEX value. Hit generate for a new harmonious palette. New to harmony schemes? See the guide on analogous, complementary, triadic, and split-complementary palettes.
Accessibility
WCAG Contrast Checker
Enter foreground and background HEX colors to check WCAG 2.1 compliance. For thresholds, edge cases, and how to interpret the result, read the practical guide to WCAG color contrast.
Reference
CSS Named Colors
All 140+ CSS named colors. Click any color to load it in the converter above.
FAQ
Frequently Asked Questions
Read
In-Depth Guides
HSL Color Explained
Hue, saturation, lightness — and why HSL beats hex for building scales, hover states, and themes.
RGBA & Transparency
How alpha actually composites in CSS, RGBA vs 8-digit hex, and where transparency hurts performance.
WCAG Contrast Guide
AA vs AAA, large vs normal text, the luminance formula, and the edge cases the rule leaves room for.
Color Harmony Schemes
Analogous, complementary, triadic, split-complementary — what each one feels like and when it fits.
CSS Color Formats
Hex, rgb, hsl, hwb, lab, lch, oklch, color() — every modern format with use-case guidance.