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
174,022 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.