Convert any color between HEX, RGB, HSL, and HSB formats. See a live preview and copy the value in any format. Useful for designers and developers working with color codes.
A color converter transforms color values between different formats including HEX, RGB, HSL, and other color models. Designers and developers frequently need to convert between these formats when working across different tools and platforms. Our browser-based color converter provides instant, accurate conversions with a visual color preview. Whether you're converting a HEX code from a design mockup to RGB for CSS, or transforming HSL values for programmatic color manipulation, this tool handles it all directly in your browser.
We support HEX (#RRGGBB), RGB (0-255 per channel), HSL (Hue 0-360, Saturation 0-100%, Lightness 0-100%), and HSB/HSV (Hue 0-360, Saturation 0-100%, Brightness 0-100%).
HSL (Hue, Saturation, Lightness) and HSB/HSV (Hue, Saturation, Brightness/Value) are both cylindrical color models. HSL's lightness ranges from black (0%) to white (100%) with pure color at 50%. HSB's brightness goes from black (0%) to the pure color (100%).
Yes, 3-character shorthand HEX codes like #F00 are automatically expanded to their full 6-character form (#FF0000).
The current version supports opaque colors only. Support for alpha channels (RGBA, HSLA) is planned for a future update.