Color Converter
Convert between HEX, RGB, HSL, and CMYK color codes instantly. Perfect for designers and developers.
#3b82f6
Invalid color format
Color Information
Red
59
Green
130
Blue
246
Alpha
100%
How to Use the Color Converter
- Enter your color - Type or paste any color value in HEX (#RRGGBB), RGB (rgb(R,G,B)), or HSL (hsl(H,S%,L%)) format
- Pick a color - Click on the color preview to use a color picker
- View conversions - All other color formats will update automatically
- Copy values - Click the copy buttons to copy any color format to your clipboard
- Try random colors - Click the random button to generate and convert random colors
Color Formats Explained
HEX Color
HEX colors are specified with #RRGGBB, where RR (red), GG (green), and BB (blue) are hexadecimal values between 00 and FF.
Example: #3b82f6
RGB Color
RGB colors are specified with rgb(R,G,B) where R, G, and B are integers between 0 and 255 representing red, green, and blue intensities.
Example: rgb(59, 130, 246)
HSL Color
HSL stands for Hue (0-360), Saturation (0%-100%), and Lightness (0%-100%). It's a more intuitive way to work with colors.
Example: hsl(217, 92%, 60%)
CMYK Color
CMYK stands for Cyan, Magenta, Yellow, and Key (black). Used primarily in printing with values from 0% to 100%.
Example: cmyk(76%, 47%, 0%, 4%)