Convert colors between HEX, RGB, HSL and HSV formats instantly.
A color converter is a free online tool for designers and developers that converts colour values between HEX, RGB and HSL formats instantly. Enter a colour in any format and get the equivalent values in all others — perfect for web development, CSS styling and graphic design work.
Convert between HEX and RGB for CSS stylesheets and between RGB and HSL for dynamic colour calculations in JavaScript.
Convert colours between design tool formats (Figma uses HEX and RGB) to maintain consistency across tools.
Convert RGB screen colours to understand their print representation (note: use CMYK converter for printing).
Use RGB values for mobile app colour properties in Swift (iOS) and Android XML layouts.
HEX (hexadecimal) colour is a 6-character code representing red, green and blue values. Example: #FF5733 = Red 255, Green 87, Blue 51.
RGB stands for Red, Green, Blue. Each channel ranges from 0–255. Example: rgb(255, 87, 51). RGB is an additive colour model used for screens.
HSL stands for Hue, Saturation, Lightness. Hue is 0–360°, Saturation and Lightness are 0–100%. HSL is more intuitive for creating colour variations.
All three work in CSS. HEX is most common, RGB is useful when you need transparency (rgba), and HSL is excellent for creating colour themes and tints programmatically.