21

I'm looking for a list of about thirty colors (RGB values) that are sufficently different so that when used in a bar chart the user can match each bar to that color in the legend.

Does anyone have such a list of colors?

Thanks,

AJ

Rob Kennedy
  • 161,384
  • 21
  • 275
  • 467
AJ.
  • 10,732
  • 13
  • 41
  • 50
  • 3
    Relevant (not dupe): http://stackoverflow.com/questions/2328339/how-to-generate-n-different-colors-for-any-natural-number-n – kennytm Mar 02 '10 at 12:31
  • http://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors/4382138#4382138 – Ohad Schneider Dec 08 '10 at 23:16
  • 2
    This website generates it for you: http://tools.medialab.sciences-po.fr/iwanthue/ – cnd Nov 05 '17 at 09:53

5 Answers5

11

More color dictionaries than you can shake a stick at. I recommend looking at "small" or "medium".

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
  • 1
    Thanks, I tried the small dictionary but this had some colors that were to similar. In the end I used the Excel 56 colors as described here: http://www.mvps.org/dmcritchie/excel/colors.htm – AJ. Mar 02 '10 at 13:00
  • http://people.csail.mit.edu/jaffer/Color/medium.pdf http://people.csail.mit.edu/jaffer/Color/small.pdf – Totty.js Jun 20 '14 at 11:18
3

Hows about constructing the colour from HSV or HSL and dividing the complete range of the hue part into however many bars you are using

Community
  • 1
  • 1
jk.
  • 13,817
  • 5
  • 37
  • 50
  • Good idea, but a bit to complicated for what I am trying to do. – AJ. Mar 02 '10 at 12:41
  • oh well, i'm sure someone will find it useful. you could also globally fiddle with the SV or SL part to offer vibrant colours or gentle pastels – jk. Mar 02 '10 at 13:03
1

You could use the Tango Color Palette.

Bobby
  • 11,419
  • 5
  • 44
  • 69
1

I doubt there is something exactly like the one you described, if I was to do it, I'd pick the colors from here: http://en.wikipedia.org/wiki/Web_colors there is a table which contains a fairly differenciated set.

Palantir
  • 23,820
  • 10
  • 76
  • 86
0

Don't forget that 10% of males (like me) are red/green color-blind. For those folks, its unlikely that you'll find the 30 colors you want.

swestrup
  • 4,079
  • 3
  • 22
  • 33