CSS Treehouse Club: CSS My First Web Page CSS Review

tarek abudakika
tarek abudakika
850 Points

hex. colours

which one is not hex. colour, and why ?FF0000,9972GL,000000,FFFFFF

Luis Olivárez
Luis Olivárez
6,566 Points

9972GL, it is not defined, the letter G is not in the hexadecimal value :) Hexadecimal uses base 16 notation to generate the number for colors. So it uses the numbers 0 -> 9 (10 digits) and A -> F (6 digits)

1 Answer

Luis Olivárez
Luis Olivárez
6,566 Points

Hexadecimal uses base 16 notation to generate the number for colors. So it uses the numbers 0 -> 9 (10 digits) and A -> F (6 digits) LETTER G IS NOT IN HEXADECIMAL SINTAX