# My sites colourfull

**URL:** <https://forum.kirupa.com/t/my-sites-colourfull/231061>\
**Category:** Uncategorized\
**Created:** [July 1, 2007, 8:33pm UTC](https://forum.kirupa.com/t/my-sites-colourfull/231061 "2007-07-01T20:33:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [July 1, 2007, 8:33pm UTC](https://forum.kirupa.com/t/my-sites-colourfull/231061/1 "2007-07-01T20:33:31Z")

</div>

and ■■■■ ugly!!! I love it! [MY SITE](http://digitalcarnival.com)!  
I decided to make my site re-decorate for every visitor depending on the current top palletes on [COLOURlovers](http://www.colourlovers.com/) however I had to work out some clever problems as listed below.

1. There is no API and the feed itself doesn’t contain the colour values in a node. FIX: I asked darius and he pointed out that the colour values are in the images.

2. No-one follows an ordering standard where the colours go in order of darkest to lightest. FIX: I created a function that detectes how dark a colour is then orders them.

3. I suck at colours, FIX: My site is just dynamic covering up for the suckyness.

So far the colours are from darkest to lightest:  
DARKEST  
[1] = Background  
[2] = Headers  
[3] = Normal paragrapgh text  
[4] = Mast background  
[5] = Content Background

So what do you guys think? :afro:

[ot]  
I didn’t put this in showcase because I know it sucks!  
[/ot]
