Skip to main content
Universal Color Conversion Tool

CMYK Color Code & Colour Converter

Professional color conversion tool: calculate cmyk code, convert red green blue to hex, inspect hsv color values, and test closest RAL paint tones.

#3B82F6 C:77 M:47 Y:0 K:4
Cyan: 77%
Magenta: 47%
Yellow: 0%
Black (K): 4%
CMYK Color Code
cmyk(77%, 47%, 0%, 4%)
Print Press Specification
RGB & Decimal Integer
rgb(59, 130, 246)
rgb color decimal: 3900150
Hex to HTML
#3B82F6
CSS web hex code
HSV Color Values
hsv(217°, 76%, 96%)
Hue, Saturation, Value
Hue Saturation Lightness
hsl(217°, 91%, 60%)
CSS HSL format
RGB to RAL Color Converter
RAL 5015 (Sky Blue)
Closest industrial paint match

CMYK vs RGB: Subtractive vs Additive Color Explained

In graphic design and software development, using an accurate colour code converter is essential because screens and physical printers generate color using completely opposing physics principles:

  • RGB (Additive): Used on computer displays, mobile phones, and TVs. Light is emitted directly from pixels. When red, green, and blue combine at 100% intensity, they create white light.
  • CMYK (Subtractive): Used in ink printing. Paper reflects ambient light; ink pigments absorb (subtract) certain wavelengths while reflecting others. Combining pure Cyan, Magenta, and Yellow produces a muddy dark tone, so pure Black (Key) is added to provide crisp contrast.

Converting Color Formats: HEX, HSL, HSV, and Decimal

Our online color conversion tool handles complex mathematical transformations across all color spaces:

Convert Red Green Blue to Hex

Each primary channel (0–255) is represented as a base-16 byte: (R << 16) | (G << 8) | B. To calculate rgb to decimal, evaluate $(R \times 65536) + (G \times 256) + B$.

Hex Code to Hue Saturation Lightness

Converting hex code to hue saturation lightness (HSL) maps color onto a cylindrical coordinate system, making it intuitive to adjust tint, shade, and vibrancy dynamically.