Astan Chee skrev:
Hi,
I was just wondering if there is a tool/script in python that allows me
to do color calculations; specifically, when I add them.
There is the colorsys module which I have used in this class:
from colorsys import rgb_to_hls, hls_to_rgb
import binascii
from types import
Dont worry about this. I've figured it out. Rather simple :
red = sum of for each red (50/100) * 1
green = sum of for each green (50/100) * 0
blue = sum of for each blue(50/100) * 0
Astan Chee wrote:
Hi,
I was just wondering if there is a tool/script in python that allows
me to do color calcula
Hi,
I was just wondering if there is a tool/script in python that allows me
to do color calculations; specifically, when I add them.
Also I was thinking that for this to work other than a simple way, some
form of measure is included. e.g 50% red(1,0,0) + 50% yellow(1,1,0) =
100% orange(1,0.7,0