Rgb to mix color

Tell us what’s happening:
Describe your issue in detail here.
Below is my code so far

  **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>

but I keep getting error message for the first and last h1 element

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Use RGB to Mix Colors

Link to the challenge:

Do you have a question?

The values should be 255, not 225.

1 Like

thanks i really appreciate

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.