Universal Format Converter
Bi-directional color transformation studio. Type in any color notation—HEX, RGB, HSL, HSV, or CMYK—and convert in real-time.
Executed locally via HTML5 Canvas & Web API. Zero server upload.
How to Use This Tool
Enter Any Format
Type or paste values into any input field—HEX, RGB, HSL, HSV, or CMYK.
Real-Time Parsing
The mathematical conversion engine decodes the input and updates all parallel formats instantaneously.
Inspect Optical Values
Review calculated alpha percentages, relative luminance coefficients, and nearest CSS named matches.
Copy Normalized Code
Click the Copy button adjacent to your target format to paste cleanly into CSS, Figma, or Swift/Kotlin code.
Frequently Asked Questions
How does RGB to HSL conversion mathematically work?+
The conversion finds the maximum and minimum channel values among R, G, and B normalized between 0 and 1. Lightness is calculated as (max + min) / 2. Hue is determined by which channel is dominant, mapped onto a 360-degree radial offset.
Is CMYK conversion completely lossless?+
CMYK is a subtractive printing color model (Cyan, Magenta, Yellow, Key/Black), while RGB is an additive digital screen model. Mathematical conversion between sRGB and generic CMYK provides an accurate digital approximation, but commercial press printing requires specialized ICC profile separations.
Related Colour Tools
Universal Colour Picker
Precision 2D SV area, Alpha slider, bi-directional multi-format sync.
HEX Colour Specialist
Validate #RGB/RGBA codes, generate lighter/darker shades and harmonies.
Image Loupe Sampler
Sample exact pixels with a 9x live magnifier loupe and coordinates.
Image Palette Extractor
Cluster dominant, vibrant, muted, or balanced colors from any image.