Plz Help I'm Stuck

Every Time I Run The Test It Says This:

// running tests
Your h1 element with the text I am blue! should have the color blue.
You should use rgb for the color blue.
// tests completed

My 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, 225);
}
</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/83.0.4103.97 Safari/537.36.

Challenge: Use RGB to Mix Colors

Link to the challenge:

Hello~!

225 is not the same as 255. :slight_smile:

It does look blue, but it is not the same blue. Often times the FCC tests are very specific.

THANKS SO MUCH! :grin:
I looked at this for so long and missed it.

1 Like

I am glad I could help!

It happens to the best of us! I’ve had entire webpages stop working because of one tiny typo. Comes with the territory, I suppose!

Happy Coding!

1 Like