Enter Color Value:
From Format:
To Format:
Conversion Options
Show All FormatsDisplay color in all available formats
Note: This tool converts between different color formats (HEX, RGB, HSL, etc.).
About This Color Converter
This tool converts between different color formats including HEX, RGB, RGBA, HSL, HSLA, and color names. It provides accurate conversions and displays the color visually for reference.
How to Use This Converter
Step-by-Step Guide:
- Step 1: Enter the color value you want to convert
- Step 2: Select the format you're converting from
- Step 3: Select the format you want to convert to
- Step 4: Click "Convert Color" to see results
- Step 5: View additional color information
- Step 6: Copy or clear results as needed
Supported Formats:
- HEX: #RRGGBB or #RGB (e.g., #ff0000 or #f00)
- RGB: rgb(red, green, blue) (e.g., rgb(255, 0, 0))
- RGBA: rgba(red, green, blue, alpha) (e.g., rgba(255, 0, 0, 0.5))
- HSL: hsl(hue, saturation%, lightness%) (e.g., hsl(0, 100%, 50%))
- HSLA: hsla(hue, saturation%, lightness%, alpha) (e.g., hsla(0, 100%, 50%, 0.5))
- Color Names: Standard CSS color names (e.g., "red", "blue", etc.)
Example Conversions:
Input: #ff0000 (HEX) to RGB Output: rgb(255, 0, 0) Input: rgb(0, 255, 0) to HSL Output: hsl(120, 100%, 50%) Input: hsl(240, 100%, 50%) to Color Name Output: blue