HEX vs RGB Color Formats
HEX colors use a base-16 representation (#RRGGBB) while RGB uses three decimal values (0-255) for red, green, blue channels. Both are equivalent and used in web development — HEX is more compact while RGB/RGBA allows controlling opacity.