Microsoft Chart for .NET (3.5, 4.x) has predefined palettes e.g. Berry, Bright, SeaGreen etc.
Is there anywhere a list of colors for each palette (hex or named)?
Thanks!
The seven major color schemes are monochromatic, analogous, complementary, split complementary, triadic, square, and rectange (or tetradic).
Commonly, color palettes are made up of six colors. These colors should include one dominant color, four accent colors, and one standard color for your text (which is usually black or grey).
If you're unsure, use the Datawrapper defaults, the ColorBrewer palettes or these Carto gradients. If you do want to try your hand at it: Don't place more than two hues with the same lightness in your gradient, but design it from a bright color (e.g. white) to a dark color (e.g. dark blue) in a consistent way.
Found this image on Alex Gorev's blog
Guess I can use color picker to get actual color names/codes
EDIT: Here are the list of colors I extracted:
Berry: 8A2BE2,BA55D3,4169E1,C71585,0000FF,8019E0,DA70D6,7B68EE,C000C0,0000CD,800080
Bright: 008000,0000FF,800080,800080,FF00FF,008080,FFFF00,808080,00FFFF,000080,800000,FF3939,7F7F00,C0C0C0,FF6347,FFE4B5
BrightPastel: 418CF0,FCB441,DF3A02,056492,BFBFBF,1A3B69,FFE382,129CDD,CA6B4B,005CDB,F3D288,506381,F1B9A8,E0830A,7893BE
Chocolate: A0522D,D2691E,8B0000,CD853F,A52A2A,F4A460,8B4513,C04000,B22222,B65C3A
EarthTones: 33023,B8860B,C04000,6B8E23,CD853F,C0C000,228B22,D2691E,808000,20B2AA,F4A460,00C000,8FBC8B,B22222,843A05,C00000
Excel: 9999FF,993366,FFFFCC,CCFFFF,660066,FF8080,0063CB,CCCCFF,000080,FF00FF,FFFF00,00FFFF,800080,800000,007F7F,0000FF
Fire: FFD700,FF0000,FF1493,DC143C,FF8C00,FF00FF,FFFF00,FF4500,C71585,DDE221
GrayScale: C8C8C8,BDBDBD,B2B2B2,A7A7A7,9C9C9C,919191,868686,7A7A7A,707070,656565,565656,4F4F4F,424242,393939,2E2E2E,232323
Light: E6E6FA,FFF0F5,FFDAB9,,FFFACD,,FFE4E1,F0FFF0,F0F8FF,F5F5F5,FAEBD7,E0FFFF
Pastel: 87CEEB,32CD32,BA55D3,F08080,4682B4,9ACD32,40E0D0,FF69B4,F0E68C,D2B48C,8FBC8B,6495ED,DDA0DD,5F9EA0,FFDAB9,FFA07A
SeaGreen: 2E8B57,66CDAA,4682B4,008B8B,5F9EA0,38B16E,48D1CC,B0C4DE,8FBC8B,87CEEB
SemiTransparent: FF6969,69FF69,6969FF,FFFF5D,69FFFF,FF69FF,CDB075,FFAFAF,AFFFAF,AFAFFF,FFFFAF,AFFFFF,FFAFFF,E4D5B5,A4B086,819EC1
I Created an Extension class that returns a List of colors for the pallet.
using System.Collections.Generic;
using System.Drawing;
using Color = System.Drawing.Color;
namespace Extensions.Colors {
public static class ChartColorPallets {
public static List<Color> Bright
=> new List<Color>() {
"#008000".FromHex(),
"#0000FF".FromHex(),
"#800080".FromHex(),
"#00FF00".FromHex(),
"#FF00FF".FromHex(),
"#008080".FromHex(),
"#FFFF00".FromHex(),
"#808080".FromHex(),
"#00FFFF".FromHex(),
"#000080".FromHex(),
"#800000".FromHex(),
"#FF0000".FromHex(),
"#808000".FromHex(),
"#C0C0C0".FromHex(),
"#FF6347".FromHex(),
"#FFE4B5".FromHex()
};
public static List<Color> GreyScale
=> new List<Color>() {
"#C8C8C8".FromHex(),
"#BDBDBD".FromHex(),
"#B2B2B2".FromHex(),
"#A7A7A7".FromHex(),
"#9C9C9C".FromHex(),
"#919191".FromHex(),
"#868686".FromHex(),
"#7B7B7B".FromHex(),
"#707070".FromHex(),
"#656565".FromHex(),
"#5A5A5A".FromHex(),
"#4F4F4F".FromHex(),
"#444444".FromHex(),
"#393939".FromHex(),
"#2E2E2E".FromHex(),
"#232323".FromHex()
};
public static List<Color> Excel
=> new List<Color>() {
"#9999FF".FromHex(),
"#993366".FromHex(),
"#FFFFCC".FromHex(),
"#CCFFFF".FromHex(),
"#660066".FromHex(),
"#FF8080".FromHex(),
"#0066CC".FromHex(),
"#CCCCFF".FromHex(),
"#000080".FromHex(),
"#FF00FF".FromHex(),
"#FFFF00".FromHex(),
"#00FFFF".FromHex(),
"#800080".FromHex(),
"#800000".FromHex(),
"#008080".FromHex(),
"#0000FF".FromHex()
};
public static List<Color> Light
=> new List<Color>() {
"#E6E6FA".FromHex(),
"#FFF0F5".FromHex(),
"#FFDAB9".FromHex(),
"#FFFACD".FromHex(),
"#FFE4E1".FromHex(),
"#F0FFF0".FromHex(),
"#F0F8FF".FromHex(),
"#F5F5F5".FromHex(),
"#FAEBD7".FromHex(),
"#E0FFFF".FromHex()
};
public static List<Color> Pastel
=> new List<Color>() {
"#87CEEB".FromHex(),
"#32CD32".FromHex(),
"#BA55D3".FromHex(),
"#F08080".FromHex(),
"#4682B4".FromHex(),
"#9ACD32".FromHex(),
"#40E0D0".FromHex(),
"#FF69B4".FromHex(),
"#F0E68C".FromHex(),
"#D2B48C".FromHex(),
"#8FBC8B".FromHex(),
"#6495ED".FromHex(),
"#DDA0DD".FromHex(),
"#5F9EA0".FromHex(),
"#FFDAB9".FromHex(),
"#FFA07A".FromHex()
};
public static List<Color> EarthTones
=> new List<Color>() {
"#FF8000".FromHex(),
"#B8860B".FromHex(),
"#C04000".FromHex(),
"#6B8E23".FromHex(),
"#CD853F".FromHex(),
"#C0C000".FromHex(),
"#228B22".FromHex(),
"#D2691E".FromHex(),
"#808000".FromHex(),
"#20B2AA".FromHex(),
"#F4A460".FromHex(),
"#00C000".FromHex(),
"#8FBC8B".FromHex(),
"#B22222".FromHex(),
"#8B4513".FromHex(),
"#C00000".FromHex()
};
public static List<Color> SemiTransparent
=> new List<Color>() {
"#FF0000".FromHex(),
"#00FF00".FromHex(),
"#0000FF".FromHex(),
"#FFFF00".FromHex(),
"#00FFFF".FromHex(),
"#FF00FF".FromHex(),
"#AA7814".FromHex(),
"#FF0000".FromHex(),
"#00FF00".FromHex(),
"#0000FF".FromHex(),
"#FFFF00".FromHex(),
"#00FFFF".FromHex(),
"#FF00FF".FromHex(),
"#AA7814".FromHex(),
"#647832".FromHex(),
"#285A96".FromHex()
};
public static List<Color> Berry
=> new List<Color>() {
"#8A2BE2".FromHex(),
"#BA55D3".FromHex(),
"#4169E1".FromHex(),
"#C71585".FromHex(),
"#0000FF".FromHex(),
"#8A2BE2".FromHex(),
"#DA70D6".FromHex(),
"#7B68EE".FromHex(),
"#C000C0".FromHex(),
"#0000CD".FromHex(),
"#800080".FromHex()
};
public static List<Color> Chocolate
=> new List<Color>() {
"#A0522D".FromHex(),
"#D2691E".FromHex(),
"#8B0000".FromHex(),
"#CD853F".FromHex(),
"#A52A2A".FromHex(),
"#F4A460".FromHex(),
"#8B4513".FromHex(),
"#C04000".FromHex(),
"#B22222".FromHex(),
"#B65C3A".FromHex()
};
public static List<Color> Fire
=> new List<Color>() {
"#FFD700".FromHex(),
"#FF0000".FromHex(),
"#FF1493".FromHex(),
"#DC143C".FromHex(),
"#FF8C00".FromHex(),
"#FF00FF".FromHex(),
"#FFFF00".FromHex(),
"#FF4500".FromHex(),
"#C71585".FromHex(),
"#DDE221".FromHex()
};
public static List<Color> SeaGreen
=> new List<Color>() {
"#2E8B57".FromHex(),
"#66CDAA".FromHex(),
"#4682B4".FromHex(),
"#008B8B".FromHex(),
"#5F9EA0".FromHex(),
"#3CB371".FromHex(),
"#48D1CC".FromHex(),
"#B0C4DE".FromHex(),
"#8FBC8B".FromHex(),
"#87CEEB".FromHex()
};
public static List<Color> BrightPastel
=> new List<Color>() {
"#418CF0".FromHex(),
"#FCB441".FromHex(),
"#E0400A".FromHex(),
"#056492".FromHex(),
"#BFBFBF".FromHex(),
"#1A3B69".FromHex(),
"#FFE382".FromHex(),
"#129CDD".FromHex(),
"#CA6B4B".FromHex(),
"#005CDB".FromHex(),
"#F3D288".FromHex(),
"#506381".FromHex(),
"#F1B9A8".FromHex(),
"#E0830A".FromHex(),
"#7893BE".FromHex()
};
private static Color FromHex(this string hex) => ColorTranslator.FromHtml(hex);
}
}
Then you can get the list of colors, just include the namespace, then you can call
List<Color> brightColors = ChartColorPallets.Bright;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With