python - How to find the relationship, or ratio, between these hex colors? -
i'm looking implement similar http://colorschemedesigner.com/ in program i'm writing, , i've taken 3 sample colors, , colors tool found fits within scheme, , reverse-engineer pattern here, try , figure out how create own tool, since doesn't provide api, far can tell. i've pulled 3 colors here, 1 degree of hue apart each other, colors follows, master color being color entered tool. color rbg hls mstr hex: ff0000 255 0 0 (0.0, 0.5, 1.0) frst hex: bf3030 191 48 48 (0.0, 0.46862745098039216, 0.5983263598326359) scnd hex: a60000 166 0 0 (0.0, 0.3254901960784314, 1.0) thrd hex: ff4040 255 64 64 (0.0, 0.6254901960784314, 1.0) frth hex: ff7373 255 115 115 (0.0, 0.7254901960784313, 1.0) color rbg hls hex: ff0700 255 7 0 (0.004575163398692812, 0.5, 1.0) hex: bf3330 191 51 48 (0.003496503496503489, 0.46862745098039216, 0.5983263598326359) hex: a60400 166 4 0 (0.004016064257028125, 0.3254901960784314, 1.0) hex: ff4540 255 69 64 (0.004363001745200675, 0.6254901960784314, 1....