Convert between HEX, RGB, RGBA, HSL, and HSV color formats instantly.
Colors in web design and digital media are expressed in several formats. Each format has its purpose and context. Our color converter translates between the most common formats instantly, with a live color preview.
HEX colors are the most common format in web development. They use a 6-digit hexadecimal code prefixed with #. Each pair of digits represents Red, Green, Blue intensity from 00 (0) to FF (255). Example: #2563eb = R:37, G:99, B:235 (a medium blue). HEX can also be shorthand: #fff = #ffffff.
RGB defines color using three values for Red, Green, Blue, each ranging from 0–255. rgb(255, 0, 0) is pure red, rgb(0, 0, 0) is black, rgb(255, 255, 255) is white. RGBA adds an alpha (opacity) channel: rgba(37, 99, 235, 0.5) is 50% transparent blue.
HSL stands for Hue, Saturation, Lightness. It is more intuitive for designers because adjusting lightness and saturation feels natural. Hue is the color angle on a color wheel (0–360°), Saturation is color intensity (0–100%), Lightness is brightness (0% = black, 50% = normal, 100% = white).
HSV (Hue, Saturation, Value) or HSB (Hue, Saturation, Brightness) is similar to HSL but uses Value/Brightness instead of Lightness. Used in many graphic design applications like Adobe Photoshop.