I don't see what's wrong with the code. Help!

Tell us what’s happening:
It says: You should use rgb for the color blue which i have so I don’t understand what’s wrong.

Your code so far


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

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

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

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

<h1 class="blue-text">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/84.0.4147.135 Safari/537.36.

Challenge: Use RGB to Mix Colors

Link to the challenge:

Hi, after your .blue-text class there should be a closing bracket. Hope this helps.

2 Likes

Thank you so much! I can’t believe i didn’t see this. It was drivin me crazy!