CSS Color Problem-Need help

FreeCodeCamp is saying that my blue header should have blue text using rgb. However, I have done that, and I get the blue text as a result. I can’t find anything incorrect in my code (aside from the lack of !DOCTYPE etc. but that’s not needed right now). Does anyone know what is wrong?

Your code so far

.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);

<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 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: Use RGB to Mix Colors

Link to the challenge:

Hey @DogDreams,

In the challenge, it provides you with the rgb codes and the code for blue is (0, 0, 255) not (0, 0, 225). It might look close, but it’s not the same hue value.

Thank you so much! This really helped.

1 Like