RGB Color Value not working

Tell us what’s happening:
The editor isn’t executing the program by saying that the following requirements are not fulfilled:

  1. Your h1 element with the text “I am blue!” should have the color blue
  2. You should use rgb for the color blue
    the rgb value for blue is rgb(0,0,225) and I’ve entered just that. I’ve tried erasing the code, writing it again and even refreshing the tab and exiting it, but its not working.
    Please help
    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,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/87.0.4280.141 Safari/537.36 OPR/73.0.3856.415.

Challenge: Use RGB to Mix Colors

Link to the challenge:

are you sure?

image

Yeah :thinking:


I even tried changing the browser now.

255 and 225 are not the same number

1 Like

yeah
Silly me
thanks

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