/tech home / projects / personal 'blog / about


ARCHIVE: Random Color Scheme

Tue. Jun 7th 2005, 10:15pm:

I always wanted to make a website that automatically changed the color scheme everytime you visited it. I just added some code to this 'blog to randomly choose colors based on the ColorMatch algorithm. In addition to picking 1 random color and 5 more based on it, my algorithm also makes sure that there is enough contrast between the foreground and background colors so that the text is not hard to read in most cases. Hit 'refresh' a few times to see the color + fonts change instantly and let me know what you think.