Hex colors

Hex codes are a short way to write RGB colors, used widely in CSS and design tools. A hex code starts with # followed by six characters, in the pattern #RRGGBB.
Each pair sets one channel, from 00 (none) to FF (full). In #3F96FC, 3F is a little red, 96 is medium green and FC is almost full blue, which makes a bright blue. #000000 is black and #FFFFFF is white.
Hex counts with 16 digits: 0 to 9, then A to F. You may also see three-character shorthand, where #F00 means #FF0000, or eight characters, where the last pair sets opacity.