Colors in HTML (the language in which many web pages are written) can be represented by six-digit hexadecimal codes: sequences of six integers ranging from 0 to 15 (represented as $0, \ldots, 9, \mathrm{~A}, \mathrm{~B}, \ldots, \mathrm{F})$
a. How many different colors can be represented?
b. Some monitors can display only colors encoded with pairs of repeating digits (such as $44 \mathrm{DD} 88$ ). How many colors can these monitors display?
c. Grayscale shades are represented by sequences $x y x y x y$ consisting of a repeated pair of digits. How many grayscale shades are possible?
d. The pure colors are pure red: $x y 0000$; pure green: $00 x y 00$; and pure blue: $0000 x y .(x y=F F$ gives the brightest pure color, while $x y=00$ gives the darkest: black.) How many pure colors are possible?