Hexadecimal: Base-16 number system (0-9, A-F). Each hex digit = 4 bits. Two hex digits = 1 byte. #FF = 255 in decimal.
Binary Representation: Computers store each channel as 8 binary digits. 255 = 11111111, 128 = 10000000, 0 = 00000000.
Tags
RGBHexBinaryColorData Representation
#FF0000
11111111 00000000 00000000
RGB Channels (0โ255)
Red = 255
0xFF
Green = 0
0x00
Blue = 0
0x00
Quick Presets
CONVERSION TABLE
Decimal:rgb(255, 0, 0)
Hex:#FF0000
Binary (24-bit):
11111111.00000000.00000000
Total bits:24
Possible colors:16,777,216
Why Hex? Hexadecimal is a compact way to represent binary. Each hex digit maps to exactly 4 bits: F = 1111, 0 = 0000. So #FF = 11111111 = 255. It's shorter than binary and more computer-friendly than decimal.