rgb_color(red, green, blue)
Returns a color with the provided components for red (R), green (G) and blue (B) and a certain degree of opacity (alpha, A).
redred component [0-255]
greengreen component [0-255]
blueblue component [0-255]
show_graphic(rectangle(50, 50, rgb_color(255, 0, 0)))show_graphic(rectangle(50, 50, rgb_color(0, 255, 0)))show_graphic(rectangle(50, 50, rgb_color(127, 127, 127)))
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version 3ec0cab (Tue, 28 Oct 2025 16:56:29 GMT)