I type rgb(160, 82, 45) for sienna-text but it doesn't work

Tell us what’s happening:

Your code so far


<style>
.red-text {
  color: rgb(255, 0, 0);
}
.orchid-text {
  color: rgb(218, 112, 214);
}0
.sienna-text {
  color: rgb(160, 82, 45);
}
.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:

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

Challenge: Use RGB to Mix Colors

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-rgb-to-mix-colors

Hello @ivtaaa00, welcome to the community! :slight_smile:

So I have look at your code above, and the reason to not passing the test is down to a typo.

There is a mistake made in the CSS between your .orchid-text and .sienna-text definitions.

Hope this helps.

2 Likes