Exploring Rgb Color Codes Codehs Answers Best 'link'

In CodeHS (and CSS in general), the syntax looks like this: color: rgb(255, 0, 0); The Range: 0 to 255

"A student wrote rgb(300, 0, 0) but the code crashed. Why?" exploring rgb color codes codehs answers best

(Yellow is made by mixing Red and Green) In CodeHS (and CSS in general), the syntax

| Color | RGB Value | |--------|------------| | Red | (255, 0, 0) | | Green | (0, 255, 0) | | Blue | (0, 0, 255) | | White | (255, 255, 255) | | Black | (0, 0, 0) | | Yellow | (255, 255, 0) | | Purple | (255, 0, 255) | | Cyan | (0, 255, 255) | | Gray | (128, 128, 128) | Mixing Red and Green gives you Yellow; Red

Here’s a helpful write-up for understanding and answering questions related to the lesson on CodeHS.

Mixing Secondary Colors: Remember your basic color wheel. Mixing Red and Green gives you Yellow; Red and Blue gives you Magenta; Green and Blue gives you Cyan. How to Choose the Best Colors for Your Project