Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Jason Peay
16,515 PointsHexadecimal Colors
Quiz Question.
Hexadecimal colors are represented by a pound sign followed by a series of letters and numbers. like this: #RRGGBB or #RGB
Which of these is Not a hexadecimal color?
A. FF0000
B. 9972GL
C. 000000
D. FFFFFF
3 Answers

Haider Ali
Python Development Techdegree Graduate 24,724 PointsHi there Jason. The counting system we use in our everyday lives is base 10 also known as decimal. It includes the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Hexadecimal is base 16. However, you may be thinking there are only 10 numbers and Hexadecimal uses 16. Well, after 9, the first 6 letters of the alphabet are used to represent 10, 11, 12, 13, 14, 15. so these are all the units that hexadecimal uses:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
These are the only units that hexadecimal uses so the one which is not hexadecimal would be B as it includes the letter L which is not a part of hexadecimal. If you have not learnt about hexadecimal before, this may seem slightly confusing but you should get used to it :)
Thanks, Haider

Kristian Gausel
14,661 PointsDon't be confused about the #RRGGBB part of the question. Hex only has the letters A-F where A is 10, B is 11, C is 12 and so on.

Jason Peay
16,515 PointsThank you, everyone for responding to my question about hexadecimal colors.

Tobias Helmrich
31,602 PointsHey there,
the right answer is "B. 9972GL" because hex values only go up until "F". So "G" and "L" are invalid.
I hope that helps! :)
Rich Donnellan
Treehouse Moderator 26,170 PointsRich Donnellan
Treehouse Moderator 26,170 PointsAdded zero (0) to your list for clarity.
Haider Ali
Python Development Techdegree Graduate 24,724 PointsHaider Ali
Python Development Techdegree Graduate 24,724 PointsOh, thanks Rich. I didn't realize i missed it out.
Jennifer Washington
805 PointsJennifer Washington
805 PointsThanks for the explanation! I didn't get that quiz question at all..now I understand!