summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngar <ingar@telenet.be>2022-02-06 17:31:46 +0100
committerIngar <ingar@telenet.be>2022-02-06 17:31:46 +0100
commitdcde75a89adda6683069ad8698c198480c5f43d4 (patch)
tree37d778a4f11d9c5fd392ecd9198f7ec0da656d8a
parent71cc164bd43714363432d39165c95017ec0943af (diff)
Added cyan and pink color options.
-rw-r--r--ledctl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ledctl.py b/ledctl.py
index 2c226e0..e27d582 100644
--- a/ledctl.py
+++ b/ledctl.py
@@ -59,6 +59,8 @@ def rgbval(colorname):
'green': (0, 255, 0),
'blue': (0, 0, 255),
'yellow': (255, 255, 0),
+ 'cyan': (0, 255, 255),
+ 'pink': (255, 0, 255),
}
return switch.get(colorname, 'Valid colors are black, white, ired, green, blue, yellow, on, off')