Color Picker & Code Converter
Pick a color to get HEX, RGB, and HSL values with one-click copy. Instantly check WCAG AA/AAA contrast ratios against white and black, and generate a 5-shade palette for your design system.
Frequently Asked Questions
How do I convert HEX to RGB?▼
Enter a hex color code (like #3B82F6) in the picker. The tool instantly shows the RGB equivalent (59, 130, 246). Each pair of hex digits represents red, green, and blue intensity from 0-255.
What is WCAG contrast ratio?▼
WCAG contrast ratio measures the luminance difference between text and background colors. A ratio of 4.5:1 is required for AA compliance (normal text), and 7:1 for AAA. This tool checks your color against white and black backgrounds automatically.
What is the difference between HEX, RGB, and HSL?▼
HEX (#FF5733) is a compact hexadecimal format popular in CSS. RGB (255, 87, 51) defines red, green, blue intensity 0-255. HSL (11°, 100%, 60%) uses hue (color wheel degree), saturation (vividness), and lightness (brightness) — often more intuitive for designers.
How do I generate a color palette from one color?▼
Pick a base color and the tool generates a 5-shade palette from light to dark. These shades maintain the same hue but vary in lightness, perfect for creating consistent design systems with primary, hover, active, and background variants.
Related Products
on GumroadDeveloper Productivity Bundle
Battle-tested automation scripts, CLI tools, and CI/CD workflows. Git cleanup, Docker pruning, log analysis, GitHub Actions CI, pre-commit hooks, and more.
Buy on Gumroad →AI Prompt Engineering Toolkit
Production-ready prompt templates, chain-of-thought workflows, and API integration code for GPT-4, Claude, Gemini, and any instruction-following LLM.
Buy on Gumroad →Developer Productivity Toolkit
Complete dev environment setup: VS Code settings, keybindings, snippets, shell aliases, Git hooks, tmux config, and Starship prompt. Copy, paste, code faster.
Buy on Gumroad →More Free Tools
Related Articles
WCAG Color Contrast Guide: Accessible Web Design
Master WCAG color contrast requirements for accessible web design. Understand contrast ratios, AA vs AAA standards, how to test your designs, and practical tips for passing accessibility audits.
CSS Grid vs Flexbox: Complete Guide with Examples (2026)
CSS Grid vs Flexbox explained with real examples. Learn when to use Grid, when to use Flexbox, and how to combine both for modern, responsive layouts.
CSS Grid vs Flexbox: When to Use Each
CSS Grid vs Flexbox — a practical decision guide. Learn exactly when to use Grid, when to use Flexbox, and when to combine both for modern responsive layouts.
Get weekly developer tips
Tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →