Advertisement

HEX to RGB Converter

Convert colors between HEX, RGB, HSL, and HSB instantly. Includes color picker and shades.

Color Input
#6C63FF
Color Values
HEX
#6C63FF
RGB
rgb(108, 99, 255)
RGBA
rgba(108, 99, 255, 1)
HSL
hsl(243, 100%, 69%)
CSS Variable
--color: #6C63FF

Shades

Advertisement

How to Convert HEX to RGB

A HEX color like #6C63FF consists of three pairs: 6C (red), 63 (green), FF (blue). Convert each pair from hexadecimal to decimal: 6C = 108, 63 = 99, FF = 255. Result: rgb(108, 99, 255).

HEX vs RGB — Which Should I Use?

HEX colors are shorter and widely used in design tools. RGB is better when you need to apply opacity or manipulate color channels programmatically. HSL is easiest for humans to reason about — adjust lightness and saturation intuitively.