Use RGB to Mix Colors ALERT!

Use RGB to Mix Colors ALERT!
0

#1

Tell us what’s happening:

Please someone tell me whats wrong with my code. Im almost 100% sure it’s right. I had to use inline styling just to get passed it telling me to make the words “I am red.” and “I am blue.” red and blue but I still cant figure out why it keeps telling me to use rgb to change the colors when i already did in the style block.

Your code so far


<style>
.red-text{
  color: rgb(225, 0, 0);
}
.orchid-text{
  color:rgb(218, 112, 214);
}
.sienna-text{
  color:rgb(160, 82, 45);
}
.blue-text{
  color:rgb(0, 0, 225);
}

</style>

<h1 class="red-text" style="color:red;">I am red!</h1>

<h1 class="orchid-text">I am orchid!</h1>

<h1 class="sienna-text">I am sienna!</h1>

<h1 class="blue-text" style="color:blue;">I am blue!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/use-rgb-to-mix-colors


#2

It goes all the way to 255.
You made red and blue at 225 instead.


#3

Thanks :sweat_smile: I cant help overlooking and overthinking. Im learning all on my own so I thought give the community a try with asking for some assistance.