Created
October 25, 2021 12:58
-
-
Save gallaugher/44225d9385224e77b41abfa7c9321899 to your computer and use it in GitHub Desktop.
CircuitPython Colors from the adafruit_led_animation library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from adafruit_led_animation.color import ( | |
AMBER, #(255, 100, 0) | |
AQUA, # (50, 255, 255) | |
BLACK, #OFF (0, 0, 0) | |
BLUE, # (0, 0, 255) | |
CYAN, # (0, 255, 255) | |
GOLD, # (255, 222, 30) | |
GREEN, # (0, 255, 0) | |
JADE, # (0, 255, 40) | |
MAGENTA, #(255, 0, 20) | |
OLD_LACE, # (253, 245, 230) | |
ORANGE, # (255, 40, 0) | |
PINK, # (242, 90, 255) | |
PURPLE, # (180, 0, 255) | |
RED, # (255, 0, 0) | |
TEAL, # (0, 255, 120) | |
WHITE, # (255, 255, 255) | |
YELLOW, # (255, 150, 0) | |
RAINBOW # a list of colors to cycle through | |
# RAINBOW is RED, ORANGE, YELLOW, GREEN, BLUE, and PURPLE ((255, 0, 0), (255, 40, 0), (255, 150, 0), (0, 255, 0), (0, 0, 255), (180, 0, 255)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment