Lesson: HTML5 and 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 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) |
The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.