ColorSwatches.org

Color Calculators

Convert between color formats used in web, print, and digital art. Each calculator is focused on a specific conversion with the math explained — including the modern OKLCH perceptually uniform format from CSS Color Level 4.


Sponsors


Choosing the Right Color Format

  • Hex / RGB — Use in CSS, HTML, and most web design tools.
  • HSL — Best for programmatic color adjustments in CSS and when you need to reason about lightness or saturation.
  • HSV / HSB — Common in design applications like Photoshop, Figma, and Sketch color pickers.
  • CMYK — Required for print-ready files; screen-to-print conversions are approximations without ICC color profiles.
  • OKLCH — The modern CSS Color Level 4 perceptually uniform format. Use it for building accessible color scales and for color interpolation in color-mix().
  • Named colors — Use the closest standard CSS/X11 name when you need a human-readable label for a hex code.
  • Kelvin — Describes light source color temperature — used in photography, lighting design, and display white balance.

More Color Tools

Browse all tools →