I have colored each element with right code

Tell us what’s happening:
Describe your issue in detail here.
AFTER COLORING EACH

element with correct rgb format, the code is not running well.

  **Your code so far**

<style>
.red-text {
  color: rgb(225, 0, 0);
}
.orchid-text {
  color: rgb(218, 112, 114);
}
.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/92.0.4515.159 Safari/537.36/8mqAoGuL-19

Challenge: Use RGB to Mix Colors

Link to the challenge:

Hey there!
It seems like the code is correct, but it’s not accepting it.
Try restarting and typing the rgb selectors with their values again. I think it might work.

Hope it helped!

Hi!

Challenge has provided you the correct hex code for that color.
use them and it should be done.

Color RGB
Blue rgb(0, 0, 255)
Red rgb(255, 0, 0)
Orchid rgb(218, 112, 214)
Sienna rgb(160, 82, 45)

Hi @SOUMYAGUTU ,

I see a small type in your code.

For .orchid-text class the RGB value should be rgb(218, 112, 214) and not rgb(218, 112, 114)

Similarly, you can copy and paste all the corresponding RGB values from the example given in the challenge to your code once again.

It should work fine now.

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