Color Formats Explained
HEX uses 6 hexadecimal digits for red, green, blue channels. RGB uses decimal values 0-255. HSL uses hue (0-360°), saturation (0-100%), and lightness (0-100%). Each has its strengths depending on your workflow.
Loading...
Convert between HEX, RGB, and HSL color formats instantly. Free browser-based color converter for CSS and design work.
Navigate to the Color Converter tool.
Enter a HEX code (#ff5733), RGB values (rgb(255, 87, 51)), or HSL values.
Instantly see the color converted to all other formats.
Click to copy the format you need for your CSS.
HEX uses 6 hexadecimal digits for red, green, blue channels. RGB uses decimal values 0-255. HSL uses hue (0-360°), saturation (0-100%), and lightness (0-100%). Each has its strengths depending on your workflow.