ColorToolkits
CSS & Gradients

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.

CMYK values use uncalibrated mathematical conversion for quick digital reference.
royalbluesRGB
#2563EB

How to Use This Tool

  1. Type or paste any CSS or hex color string in the Single Converter bar for immediate live decomposition across all 16 formats.
  2. Switch to Batch Mode and paste multiple color lines (even inside CSS rules like --primary: #2563eb;) to convert an entire token sheet at once.
  3. 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

More Color Tools

View all tools →