Use rgb for the color blue

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:
https://www.freecodecamp.org/challenges/use-rgb-to-mix-colors

What’s the problem?

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

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

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

same goes for .orchid-text.

1 Like

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