Forum Moderators: coopster
I have never done a search personnally, but I am sure they are tons of such script (in Google) as the code itself was not so hard.
[edit]Typo errors[/edit]
Color Harmnoizer [interactive-earth.com]
The problem with what you are asking, is what definition of harmonic colors are you speaking of. Color harmonizing isn't the exact mathematics that say, music theory is based. Many people tend to harmonize colors with an array of tones based on a color's complementary. But others find that it's not the exact complementary that produces the best harmony.
I agree with the method applied in Progression I of the color harmonizer above, i.e., that a good design depends on three colors which resonate together. One primary 'hero' color and two lesser colors that resolve the action of the first. In Progression I, the lesser two colors are not exactly complementary to the primary, but close.
So, even if you were to create a php harmonizing tool, the question becomes what method will you use to space your colors and create tones around the color wheel/spectrum.