Convert between HEX, RGB, HSL
Edit any value below to convert between formats
#3B82F6rgb(59, 130, 246)hsl(217, 91%, 60%)Most used format on the web. 6 characters representing Red, Green, Blue.
Values from 0 to 255 for each channel. Standard for screens and images.
More intuitive for adjusting colors. H: 0-360°, S&L: 0-100%.
Keep H constant, vary S and L to create consistent shades
60% dominant color, 30% secondary, 10% accent
Use close hues on the color wheel
Check that contrast works without color
The human eye can distinguish about 10 million different colors, but standard screens can only display 16.7 million (True Color). The HEX format with its 16,777,216 possible combinations (#000000 to #FFFFFF) therefore covers more than our screens can actually display!