« Can I Get A... | Home | Affinity with Music »

May 30, 2008

Color Palette Generator

Steve at DeGraeve.com wins. It's not like there was a competition, just insane jealousy on my part. Sure, there are some options out there that let you upload a picture and it'll generate a decent palette for you. I didn't/don't want to be tied to somebody else's tool like that, and their generated palettes weren't as nice as Steve's. So, I looked around and tried out a couple pre-made options which I modified and hosted myself – but the colors generated by them just weren't right. (sorry, but I can't find all the links to the different things I tried)

Finally, I tried brewing my own, using a whole family of PHP functions with which I wasn't entirely familiar, and which didn't get me much further than the pre-made solutions. No matter what I did, though, I couldn't communicate in PHP what I wanted to do with the information I had. Unfortunately (or fortunately), since I work with databases all day, when I deal with arrays, they're just a bit sloppy, and don't behave how I think they should.

I knew it was going to be an uphill battle once I realized I was just trying to replicate somebody else's work. As we all know, a copy rarely turns out as good as the original. Why bother with this? I want(ed) to dynamically generate a color palette (which could be plugged into a CSS file through some magic) and have the accompanying photo show as well - to give the photos a better visual continuity. It's somewhat similar to what Dave Shea has going on, but a bit more dynamic. Who knows, maybe I'll still go through with it, but I don't see myself trying to do the full, on-the-fly palette generation. </geekiness>

3 Comments

For the record, you lost me at "color pallette generator." I hope this is geek talk and I'm not just an idiot.

100% geek talk. :) I expected the majority of everyone to ignore this one. If for anything else, I posted it for me for later reference.

Good find, Pedro. Almost as cool as that PHP image title generator.

Pedro's Activity Elsewhere

  • Pedro saved iamdiddy's tweet, "One of the greatest weaknesses in most of us is our lack of faith in ourselves. – L. Tom Perry" as a favorite (Jan 10 - 4:40 AM)
  • Pedro tweeted, "@mrgan Extra vowels are for weeirdos." (Jan 9 - 5:41 PM)
  • Pedro tweeted, "@mrgan Which Zojirushi do you have? Is it worth the price?" (Jan 5 - 2:53 PM)
  • Pedro tweeted, "@garrettmurray THAT JUST GIVES YOU A CHANCE TO GET IT ON IF YOU KNOW WHAT I MEAN WHICH IS THE POWER WHAT WERE YOU THINKING" (Jan 4 - 6:08 PM)
  • Pedro tweeted, "@danielpunkass I know. It's not my first day (or election) following you on twitter." (Jan 4 - 7:02 AM)
  • Pedro tweeted, "@danielpunkass Not a single one, since they've all already lied before. It's not like we Mormons are perfect. Maybe the Iowan ones are." (Jan 4 - 6:53 AM)
  • Pedro tweeted, "(Insert joke here about any of the personal care things I haven't done ALL YEAR.)" (Jan 1 - 2:40 PM)

About this Entry

This page contains a single entry by Pedro published on May 30, 2008 2:03 PM.

Can I Get A... was the previous entry in this blog.

Affinity with Music is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.