Rgb not working

Tell us what’s happening:
Describe your issue in detail here.

i have filled the rgb codes correctly like i am supposed to but it doesn’t approved red and blue rgb
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/92.0.4515.107 Safari/537.36

Challenge: Use RGB to Mix Colors

Link to the challenge:

Are you meaning to say that red and blue aren’t displaying?

if so i tested it on Codepen https://codepen.io/Mad-S/pen/vYmRbqX?editors=1100 here’s the pen all the colors are displaying

I am not really sure about that. Check again really carefully

its displaying red and blue on the browser like space but it shows (x) on my scoreboard which means its not working. i can send you a screenshot by mail if thats possible

really, you just need to write the rgb colors as requested, and it will pass

ok heres the screenshot

I believe you posted the wrong screenshot

that’s not your code, that’s the video code. Your code doesn’t match the code from the video anyway

my bad i posted the wrong screenshot before. here’s the screenshot from my code

I don’t see any mistake here did you try running it again?

exactly i’ve tried running it again like 50times

have you tried double checking and correcting the RGB values?

yes. the rgb values are correct. i can still send you the screenshot

255 is not the same as 225

how can i even make such a mistake. and ive been stuck here since 2days ago

thank you so much :heart: :heart: :heart:

hey don’t worry about it small mistakes happens to everyone, now i feel dumb as well

the most common bug is just that, a typo

welcome to the programmer’s life

image

2 Likes

i really appreciate your time and effort. typo smh