Use RGB to mix colors

Use RGB to mix colors
0.0 0

#1

Replace the color words in our style element with their correct RGB values.

Color RGB
Blue rgb(0, 0, 255)
Red rgb(255, 0, 0)
Orchid rgb(218, 112, 214)
Sienna rgb(160, 82, 45)

My code:

.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) }

Turns all the text the right colors But instructions after I run it won’t let me pass on. What’s wrong?

Use rgb for the color red.
Use rgb for the color orchid.
Use rgb for the color blue.
Use rgb for the color sienna.


#2

add a semicolon ; after every color: rgb(255, 0, 0) property:value declaration.


#3

It looks like everything is correct, but try closing every color property with semicolon ;

Classic problem :joy:


#4

Thank you so much…it worked!


#5

Thank you so much…problem solved!


#6

Thank you so much!! Problem solved!


#7

:slight_smile: Happy coding!