hsv_color(hue, saturation, value)
Returns a color with the provided hue (H), saturation (S), value (V) and a certain degree of opacity (alpha, A).
HSV cylinder (SharkD via Wikimedia Commons)huehue of the color [0-360]
saturationsaturation of the color [0-1]
valuethe amount of light that is applied [0-1]
show_graphic(rectangle(50, 50, hsv_color(0, 1.0, 1.0)))show_graphic(rectangle(50, 50, hsv_color(120, 1.0, 1.0)))
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version c30aa49 (Tue, 25 Nov 2025 16:55:08 GMT)