From 810552638d8466fb1f9166f2bec9057538815fc0 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 1 Dec 2024 18:22:59 -0500 Subject: CMY now fully supported, plus refactoring + organization --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index aff9015..0206571 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ I originally (and still) just want this to be an exercise in Python that results That said, as I develop this, I see lots of room for improvement. Such as: - automatic format detection, no longer requiring a flag to indicate what format input is -- accept more than one color code at a time +- accept more than one color code at a time (-f for file input, -l for multiple (list of) strings - (to expand on ^) accept input from text file, where each line is it's own color code to convert - add flags to control which conversions are output (in the case you only want a single conversion) and how (do you want just the raw values or the whole string for with commas and stuff?) - combine the last two bullet points and boom: now the tool could take a whole list of colors in X format and spit out a file where every color is in Y format @@ -33,6 +33,12 @@ maybe these ideas branch off into separate projects themselves, but: - accept images as output and some sort of color code that gets applied to said image (like a CLI program for applying color filters to images) ## Conversion Sources -Hex<->RGB: https://en.wikipedia.org/wiki/Web_colors +Hex<->RGB: +https://en.wikipedia.org/wiki/Web_colors -RGB<->CMYK: https://thecolorsmeaning.com/rgb-to-cmyk/ +RGB<->CMYK: +https://www.101computing.net/cmyk-to-rgb-conversion-algorithm/ +https://thecolorsmeaning.com/rgb-to-cmyk/ + +RGB<->CMY: +http://colormine.org/convert/rgb-to-cmy -- cgit v1.3.1-4-g156e