Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
216,165 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.