Each pair of characters runs from 00 (none) to FF (full, which is 255), so #000000 is black, #FFFFFF is white and #FF0000 is pure red. Hex codes are the standard way to write colors in CSS and most design tools.
There is also a three-character shorthand when each pair repeats (#F80 is #FF8800), and an eight-character form where the last pair sets transparency.