What wrong with my code for blue?

Tell us what’s happening:

Your code so far

<style>
  .red-text {
    color: rgb(255,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:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30.

Link to the challenge:
https://www.freecodecamp.org/challenges/use-rgb-to-mix-colors

I am pretty sure my code is correct for the color blue. But its doesn’t say that it is correct.

blue = rgb(0, 0, 255)

2 Likes

Read the instructions more carefully. It tells you exactly what rgb values to use.

1 Like