from PIL import Image import os # Create output directory os.makedirs("icons", exist_ok=True) # Define colors colors = { "green.png": (0, 200, 0), "yellow.png": (255, 200, 0), "red.png": (200, 0, 0) } # Create solid 16x16 square images for name, rgb in colors.items(): img = Image.new("RGB", (16, 16), rgb) img.save(os.path.join("icons", name)) print("✅ Icons created in ./icons")