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 trial

CSS Treehouse Club: CSS My First Web Page CSS Review

Christopher Svean
Christopher Svean
1,118 Points

HEXADECIMALS: How do you know what color will appear just by using numbers?

Iwas doing so good in all the quizzes but on the topic of hexadecimals i feel so lost. ive rewatched the video over and over and it makes less sense everytime. In one of the questions it says you can only use letters A-F but what about R DOES IT NOT STAND FOR RED? SORRY FOR THE POORLY WORDED QUESTION IM SO LOST AND IM SORRY FOR CAPS NOW THEY WONT SHUT OFF LOL

3 Answers

Steven Parker
Steven Parker
231,269 Points

:point_right: Hexadecimal numbers represent colors by a blend of red, green, and blue.

First, remember that hexadecimal digits can only be 0-9 or A-F, and case is not significant (so it could be a-f). Then, color values always come in 3: red, green, and blue. Typically, two hex digits are used to represent each color component. The highest number possible is FFFFFF, which represents white. The lowest number is 000000, which is black.

Other values might be best demonstrated by a Visual Color Picker.

And no, there is no "R" in hexadecimal. Pure red would be FF0000. But many colors can be indicated by name, as shown in this chart.

Christopher Svean
Christopher Svean
1,118 Points

THANK YOU lol I was getting 100% on every quiz and following along on every video and then bam I was lost 100%. One more quick question. The first two digits represent red, third and fourth represent green, and fifth and sixth represent blue, is that correct?

thank you. doubt cleared.