Jens Schauder
Jens Schauder

Reputation: 81862

Automatic creation of a color scheme

Are there algorithms to create 'nice' color schemes?

Criterias for 'nice' would be:

The practical background is that I want to color the diagrams created by Degraph in a nice and useful way.

Upvotes: 1

Views: 164

Answers (1)

alzaimar
alzaimar

Reputation: 4622

I usually select a base color and change the hue in 5-6 step (=changing main color) If I need more colors, I'd change saturation (strength or grayish) or luminosity.

The problem here is that you should avoid two adjacent colors (on your drawing) to be close together in terms of 'distance' of the three values H,S,L.

This is quite easy to implement and gives acceptable results.

e.g. (use the windows color editor)
(S=140, L=160): H=0,40,80,120,160,200
(S=90 , L=180); H=20,60,100,140, 180

Please don't use too many colors. Play with fill patterns as well.

Upvotes: 1

Related Questions