Use RGB to Mix Colors Challenge

Tell us what’s happening:
I’m currently having some difficulties w/the “basic CSS” section involving the mixing of colors using RGB. The colors turn the way they should look when I type them in, but I’m being denied from proceeding due to, “Your h1 element with the text I am red! should have the color red… You should use rgb for the color red… Your h1 element with the text I am blue! should have the color blue… You should use rgb for the color blue.” If I’m being honest, I confidently feel that my code is correct. Nonetheless, it’d be awesome to receive any help- thanks.

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

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

Challenge: Use RGB to Mix Colors

Link to the challenge:

225 is not a maximum value channel could get. Try bigger number :wink:

2 Likes

Good idea! Completely forgot abt that lmao