Design
Color Converter
Input
Pick or enter a HEX color and instantly convert it to RGB or HSL.
HEX accepts #RGB or #RRGGBB format.
Output
#4F46E5
Frequently Asked Questions
What is the difference between HEX, RGB, and HSL?
HEX is a 6-character code (e.g. #FF5733) used in HTML/CSS. RGB specifies Red, Green, and Blue components as values 0–255. HSL stands for Hue, Saturation, and Lightness — often more intuitive for designers who want to adjust brightness or saturation independently.
How do I convert HEX to RGB?
Split the hex string into three 2-character pairs and convert each from hexadecimal to decimal. For example, #FF5733: FF→255, 57→87, 33→51, giving RGB(255, 87, 51). This tool performs that conversion instantly.
What is CMYK and when is it used?
CMYK (Cyan, Magenta, Yellow, Black) is the color model used in physical printing. Screens use additive color (RGB) while printers use subtractive color (CMYK). Converting from RGB to CMYK is necessary when preparing digital designs for print.