Color Converter
Free online Color Converter.
Calculator
How to Use
- Enter a color in any format (HEX code, RGB values, or HSL)
- The calculator detects the input format automatically
- View the color converted to all other formats
- See a visual preview of the color with its name if applicable
Formula
HEX to RGB: #RRGGBB -> (R, G, B) each 0-255\nRGB to HSL: H = hue angle, S = saturation%, L = lightness%\nRGB to CMYK: C = 1-R/255, M = 1-G/255, Y = 1-B/255\nK = min(C, M, Y), then adjust C,M,Y relative to K\nExample: #FF6600 = RGB(255,102,0) = HSL(24,100%,50%)
Example Calculations
HEX to RGB
Input: #3498DB
Result: RGB(52, 152, 219), HSL(204, 70%, 53%)
RGB to CMYK
Input: RGB(255, 102, 0)
Result: CMYK(0%, 60%, 100%, 0%), HEX: #FF6600
About This Calculator
Convert colors between HEX, RGB, HSL, and CMYK formats. Free color converter for web design, printing, and digital art projects.
Our color converter is free, easy to use, and provides instant results. All calculations are performed in your browser for privacy and speed.
Related Calculators
Frequently Asked Questions
How do I convert HEX to RGB?
Split the 6-digit HEX into pairs: #FF6600 -> FF=255, 66=102, 00=0. So RGB(255, 102, 0). Each pair is a hex number from 00-FF (0-255 decimal).
What is the difference between RGB and CMYK?
RGB is additive (light-based, for screens). CMYK is subtractive (ink-based, for printing). Colors appear different on screen vs print because of the different color models.
How do I find the HEX code for a color?
Use a color picker tool or enter RGB values. RGB(255, 0, 0) = #FF0000 (red). RGB(0, 128, 0) = #008000 (green). RGB(0, 0, 255) = #0000FF (blue).
What is HSL color?
HSL stands for Hue (0-360 degrees on color wheel), Saturation (0-100%, vivid to gray), Lightness (0-100%, black to white). It is more intuitive than RGB for adjusting colors.