summaryrefslogtreecommitdiff
path: root/color-converter.py
diff options
context:
space:
mode:
Diffstat (limited to 'color-converter.py')
-rw-r--r--color-converter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/color-converter.py b/color-converter.py
index 6ed4194..8600877 100644
--- a/color-converter.py
+++ b/color-converter.py
@@ -369,6 +369,7 @@ def HEXtoRGB(hexCode) :
tempSum = 0
return rgbValues
+
# Takes in a list of 3 floats, returns a list of 3 integers
def CMYtoRGB(cmyValues) :
red = (1 - (cmyValues[0] / 100)) * 255