Exploring Rgb Color Codes Codehs Answers Best
Never assume a color looks right. Run your code.
You will often be asked to predict the color based on the numbers. Here is a cheat sheet: exploring rgb color codes codehs answers best
| Color | Red | Green | Blue | |-------|-----|-------|------| | Black | 0 | 0 | 0 | | White | 255 | 255 | 255 | | Red | 255 | 0 | 0 | | Lime | 0 | 255 | 0 | | Blue | 0 | 0 | 255 | | Yellow| 255 | 255 | 0 | | Purple| 128 | 0 | 128 | Never assume a color looks right
setBackgroundColor(128, 0, 128);
