Using RGB instead of Hex on a challenge. I have followed the direction thoroughly and the video but the test results are not taking the changes. Please help!

Tell us what’s happening:
I have completed the challenge and followed each direction accordingly. Also, verified by watching the video. The color of the text has shown the changes as I change the hex to rgb. However, when I run the test, it keeps saying that " h element with the text " I am red! needs to be in color red" in which it is. And it goes for the whole part of this challenge. Could someone please tell me what did I miss?
Thank you!

  **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">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/91.0.4472.77 Safari/537.36

Challenge: Use RGB to Mix Colors

Link to the challenge:

Hi @Cmedina !

Welcome to the forum!

The issue is here

and here

Read through the instruction again for the correct hex code values.

For example, the correct value from the lesson for blue is this

rgb(0, 0, 255)

But that is not what you wrote.

Once you fix those two errors then the test will pass.

1 Like

Thank you for the help :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.