There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
Why does the lesson keep referring to RGB colors as “decimal” colors? Isn’t that quite confusing since hex colors are also “hexadecimal”? Where does the decimal come in anyway?
That is weird. It speaks to a confirmation bias of the lesson author. All we need to do is squeak past that and put it into our own perspective. Rear view mirror.
when they say they are equivalent, do they mean none is better than the other?. cause they obviously don’t mean interchangeable. or do they mean they can express the same number of colors?.
Using RGB , you have 256^3 different colors you can choose form, Using Hash, you have 16^6 different colors you can choose from. Both equal 16,777,216 colors. So yes,they express the same number of colors.
If you re-read the Hexadecimal lesson you would find that the colors can be in upper case or lower case or a mixture of both. But obviously, you need to choose one and stick to it for better readability of your code.