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 0a56f08d (Wed, 29 Apr 2026 08:58:46 GMT)