Use rgb for the color blue

Use rgb for the color blue
0

#1

Tell us what’s happening:

Your code so far

<style>
  .red-text {
    color: #000000;
  }
  .orchid-text {
    color: rgb(218, 112, 214)
  }
  .sienna-text {
    color: #000000;
  }
  .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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 OPR/49.0.2725.64.

Link to the challenge:


#2

What’s the problem?

You need to use RGB values for all the colours before the challenge will pass.


#3

try adding a semicolon to the end of your CSS. i.e.

.blue-text {
    color: rgb(0, 0, 255);
  }

same goes for .orchid-text.


#4

Thank you so much! This was driving me nuts :smiley: