Tell us what’s happening:
"The digit 0
is the lowest number in hex code, and represents a complete absence of color.
The digit F
is the highest number in hex code, and represents the maximum possible brightness."
Just trying to understand this logic, and wondering if anyone knows how this was developed - how is it possible that #000000 represents black or “absence of color” when in fact white as #ffffff would technically fit. I know it says brightness is represented by F, but brightness is not a color and black is actually a mix of all colors (taking it to paint mixing in the 1st grade lol - we got taught how to mix and make black but couldn’t create white with any color) just with absence of brightness.
Is there a factor of saturation, brightness, etc. in the other letters?
Confusing - and just random newbie thought - wanted to get any developer feedback! >
Your code so far
<style>
.red-text {
color: black;
}
.green-text {
color: #FFFFFF;
}
.dodger-blue-text {
color: black;
}
.orange-text {
color: black;
}
</style>
<h1 class="red-text">I am red!</h1>
<h1 class="green-text">I am green!</h1>
<h1 class="dodger-blue-text">I am dodger blue!</h1>
<h1 class="orange-text">I am orange!</h1>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/use-hex-code-to-mix-colors