Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programming a simple color scheme generator

we are developing a website cms in C# and want to integrate / develop a small and simple color scheme generator as like as colorschemedesigner.com (of course simplier) to automatically suggest harmonizing template colors (for body background, text, heading etc.).

There are 6 methods for color creation on that website. We would like to reprogram the logic of the "accented analogic" algorithm.

Does anyone know how to easily realize this, or where we could find more information about this topic. How to programatically find a set of harmonizing colors for a given base?

Or are there already some third-party controls out there that could do the job? E.g. an advanced advanced advanced color picker or some thing.

Daniel

like image 676
MrHardware Avatar asked Jan 04 '11 15:01

MrHardware


2 Answers

I found this useful in the past. Random Pastel Colour Generator

Code in c# can be found on the page above.

alt text

alt text

like image 52
Indy9000 Avatar answered Sep 23 '22 03:09

Indy9000


Adobe's Kuler is pretty good at this. If you want to look at the theory that governs how Kuler creates colour schemes you can look at examples like this on colour theory.

analogous colour scheme creation

You could begin by creating a colourwheel then using the scheme definitions in this link -- or others -- to work out which colours to choose based on their position on the wheel (e.g. the analogous scheme above).

like image 39
Tim Barrass Avatar answered Sep 22 '22 03:09

Tim Barrass