Interstate 74 W, how do you control the display brightness?

Our Gadgetoid did a good intro to HSV (Hue Saturation Value) back in the day if you’ve not come across it before :)

For finding out the hue of specific colours, try this colour wheel picker - Reinvented Color Wheel Picker Demo Page

Note that most colour pickers will give you a hue as a number between 0-360 degrees (that’s the position of the colour on the colour wheel) and you’ll need to give our create_pen_hsv function a value between 0.0 and 1.0

I tend to do something like:

graphics.create_pen_hsv(hue / 360, saturation, brightness)

so green would be:

brightness = 0.5

MURKY_GREEN = graphics.create_pen_hsv(130 / 360, 1.0, brightness)
1 Like