// This is the standard CodeHS solution var circle = new Circle(50); circle.setPosition(200, 200);
By mixing these three primary channels, you can create over 16 million different colors. For example: rgb(255, 0, 0) Pure Green: rgb(0, 255, 0) Pure Blue: rgb(0, 0, 255) Key Patterns in CodeHS Exercises
If you need a gray, keep all three numbers exactly the same. rgb(50, 50, 50) Light Gray: rgb(200, 200, 200) 2. Adjust Brightness
RGB (Red, Green, Blue) color codes are a way to represent colors using a combination of red, green, and blue light. Each color is represented by a value between 0 and 255, with 0 being the minimum intensity and 255 being the maximum intensity.