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! While you're at it, check out some resources Treehouse students have shared here.
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 trialtarek abudakika
850 Pointshex. colours
which one is not hex. colour, and why ?FF0000,9972GL,000000,FFFFFF
1 Answer
Luis Olivárez
6,566 PointsHexadecimal 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
Luis Olivárez
6,566 PointsLuis Olivárez
6,566 Points9972GL, 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)