# In JavaScript (CodeHS Graphics) setColor(255, 165, 0); // Orange # In Python (CodeHS) color_rgb(255, 165, 0)
Before searching for specific exercise answers, it helps to memorize the "Big Eight" combinations: (0, 0, 0) — All lights off. White: (255, 255, 255) — All lights at max. Red: (255, 0, 0) Green: (0, 255, 0) Blue: (0, 0, 255) Yellow: (255, 255, 0) — Red + Green. Cyan: (0, 255, 255) — Green + Blue. Magenta: (255, 0, 255) — Red + Blue. Using RGB in CodeHS Exercises exploring rgb color codes codehs answers
function getRandomGray() { var val = Randomizer.nextInt(0, 255); return new Color(val, val # In JavaScript (CodeHS Graphics) setColor(255, 165, 0);