RGB problem and im confused

Tell us what’s happening:
I’m kind of confused, I used rgb but for some reason its not?

Basic CSS: Use RGB to Mix Colors

Just like with hex code, you can mix colors in RGB by using combinations of different values.

Replace the hex codes in our style element with their correct RGB values.

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, 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; rv:77.0) Gecko/20100101 Firefox/77.0.

Challenge: Use RGB to Mix Colors

Link to the challenge:

Hello~!

You are missing your ; at the end of each of these.

1 Like

Thanks! I completely forgot about that semicolon.