views:

90

answers:

2

Do any open source libraries exist for programatically selecting and rating the compatibility of sets of colors using color theory?

It would be very useful to be able to select color palettes based on simple color harmony rules like complimentary, analogous, triadic, and tetradic colors.

+1  A: 

This isn't a direct answer and it's not open source, but you might take a look at what they are doing at Adobe's Kuler web site. They have API Documentation that might be worth a read.

Peter Rowell
+1, awesome site for designers.
Pat
(virtual -1) because we want to see how it's done, not because we want it done =)
Travis
+1  A: 

I just found this: Harmonies theory and math.

Also of interest is the rest of the EasyRGB site, which will explain how to do RGB to HSV, etc.

While it's not source code, it's the formulas for calculating the values.

Also interesting: "Color Jack"

Travis
It looks like the EasyRGB was the ticket: http://easyrgb.com/index.php?X=WEELIt looks like it's a lot easier than I thought. They're just degree offsets on the color wheel.
maxhawkins
Yer ... but you have to get to the wheel from RGB (if you're doing what I'm doing)
Travis