couleur_rgb(rouge, vert, bleu)
Retourne une couleur avec les composantes indiquant le rouge (R), vert (G) et bleu (B) et un certain taux d’opacité (alpha, A).
rougecomposante rouge [0-255]
vertcomposante verte [0-255]
bleucomposante bleue [0-255]
montre_graphique(rectangle(50, 50, couleur_rgb(255, 0, 0)))montre_graphique(rectangle(50, 50, couleur_rgb(0, 255, 0)))montre_graphique(rectangle(50, 50, couleur_rgb(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 3217fcf4 (November 24, 2026 at 6:34:26 AM UTC)