Color Converter
Paste a single hex code or a full list of CSS variables to convert between 16 web, print, and mobile color formats side-by-side.
How to Use This Tool
- Type or paste any CSS or hex color string in the Single Converter bar for immediate live decomposition across all 16 formats.
- Switch to Batch Mode and paste multiple color lines (even inside CSS rules like --primary: #2563eb;) to convert an entire token sheet at once.
- Copy individual tokens or export the converted batch table as JSON or CSV.
Key Features
- Bi-directional parsing of HEX (3/4/6/8-digit), bare hex, RGB/RGBA, HSL, HSV, HWB, OKLCH, OKLab, LAB, LCH, Display-P3, digital CMYK, and 0xAARRGGBB
- Batch Multi-Line Converter converts dozens of CSS/design token values in one pass with JSON or CSV download
- Side-by-side wide-gamut indicator warning whenever OKLCH or Display-P3 input sits outside sRGB
- Clear digital-approximation notice on mathematical CMYK conversions for print awareness
Frequently Asked Questions
True press CMYK depends on paper stock, ink density, and ICC profiles (such as FOGRA39 or US Web Coated SWOP). Browser math computes standard uncalibrated sRGB-to-CMYK percentages useful as a quick reference.
Yes. Alpha opacity is preserved across Hex8, RGBA, HSLA, OKLCH (/ alpha), Display-P3, SwiftUI opacity parameters, and 8-digit 0xAARRGGBB Compose/Flutter integers.
More Color Tools
View all tools →Color Picker & Eyedropper
Pick exact colors in HEX, RGB, HSL, or OKLCH and sample pixels directly from your screen.
HTML Color Names
Browse all 148 official HTML & CSS color names grouped by family with 1-click copy.
Tailwind Color Scale
Turn any brand color into a balanced 50–950 Tailwind scale with live contrast checks.
Contrast Checker
Check text and UI contrast against WCAG AA/AAA and APCA standards, with 1-click fixes.