Using RGB to Mix Colors

Using RGB to Mix Colors
0.0 0

#1

Tell us what’s happening:

The program is not accepting this as solution for the following requirements

  1. Give your h1 element with the text I am red! the color red.
  2. Use rgb for the color red.

The program is accepting this as solution for the following requirements:

  1. Give your h1 element with the text I am orchid! the color orchid.
  2. Use rgb for the color orchid.
  3. Give your h1 element with the text I am blue! the color blue.
  4. Use rgb for the color blue.
  5. Give your h1 element with the text I am sienna! the color sienna.
  6. Use rgb for the color sienna.

Any suggestions for what the program is not accepting?

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, 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:

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

Link to the challenge:


#2

That is because you are not giving it the correct rgb values for red. rgb(225, 0, 0) is not red (at least according to the table values they have given you in the challenge).