Home > database >  is there a coding way to check whether a color palette follows the color schemes of a color wheel li
is there a coding way to check whether a color palette follows the color schemes of a color wheel li

Time:11-09

I am eager to build a system which tells whether my color palette follows any color schemes from the color wheel, i.e., monochromatic, analogous, complementary, split complementary, triadic, square, and rectangle (or tetradic).

I have been thinking about this problem since last few days but couldn't come up with something.

I don't have that much clues about it as to where to start, please if I can get some initial ideas as to how to proceed using python.

CodePudding user response:

I'm no colour-theorist and will happily remove my suggestion if someone with knowledge/experience contributes something more professional.

I guess you want to convert to enter image description here

Separated Image

enter image description here

Hopefully you can see that the Hue values go around the colour wheel in the left panel, that the Saturation decreases as you move away from the centre and that the Value increases as you move out radially.

You can hover a colour picker over, say, the green tones and see that they all have similar Hue. So, if you were looking for complementary colours. hover over the two and see if they are 180 degrees of Hue apart, for example.

  • Related