ScottPlot.NET
GitHub Repo stars

Color Palettes

Palettes are collections of colors. The palette in Plot.Palette defines default colors for new objects added to plots. Users can access palettes directly to get color values for any use.

This code sample is specific to ScottPlot 4 (details)
var pal = ScottPlot.Palette.Category10;
for (int i = 0; i < pal.Count(); i++)
{
    var color = pal.GetColor(i);
    Console.WriteLine(color);
}

Amber

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Amber();
foreach (var color in myPalette)
    Console.WriteLine(color);
#FF6F00
#FF8F00
#FFA000
#FFB300
#FFC107

Aurora

From the Nord collection of palettes: https://github.com/arcticicestudio/nord

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Aurora();
foreach (var color in myPalette)
    Console.WriteLine(color);
#BF616A
#D08770
#EBCB8B
#A3BE8C
#B48EAD

Building

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Building();
foreach (var color in myPalette)
    Console.WriteLine(color);
#FF6F00
#FF8F00
#FFA000
#FFB300
#FFC107

Category 10

A set of 10 unque colors used in many data visualization libraries such as Matplotlib, Vega, and Tableau

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Category10();
foreach (var color in myPalette)
    Console.WriteLine(color);
#1F77B4
#FF7F0E
#2CA02C
#D62728
#9467BD
#8C564B
#E377C2
#7F7F7F
#BCBD22
#17BECF

Category 20

A set of 20 unque colors used in many data visualization libraries such as Matplotlib, Vega, and Tableau

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Category20();
foreach (var color in myPalette)
    Console.WriteLine(color);
#1F77B4
#AEC7E8
#FF7F0E
#FFBB78
#2CA02C
#98DF8A
#D62728
#FF9896
#9467BD
#C5B0D5
#8C564B
#C49C94
#E377C2
#F7B6D2
#7F7F7F
#C7C7C7
#BCBD22
#DBDB8D
#17BECF
#9EDAE5

Colorblind Friendly

A set of 8 colorblind-friendly colors from Bang Wong’s Nature Methods paper https://www.nature.com/articles/nmeth.1618.pdf

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.ColorblindFriendly();
foreach (var color in myPalette)
    Console.WriteLine(color);
#000000
#E69F00
#56B4E9
#009E73
#F0E442
#0072B2
#D55E00
#CC79A7

Dark

A qualitative 8-color palette generated using colorbrewer2.org

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Dark();
foreach (var color in myPalette)
    Console.WriteLine(color);
#1B9E77
#D95F02
#7570B3
#E7298A
#66A61E
#E6AB02
#A6761D
#666666

Dark Pastel

A qualitative 8-color palette generated using colorbrewer2.org

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.DarkPastel();
foreach (var color in myPalette)
    Console.WriteLine(color);
#66C2A5
#FC8D62
#8DA0CB
#E78AC3
#A6D854
#FFD92F
#E5C494
#B3B3B3

Frost

From the Nord collection of palettes: https://github.com/arcticicestudio/nord

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Frost();
foreach (var color in myPalette)
    Console.WriteLine(color);
#8FBCBB
#88C0D0
#81A1C1
#5E81AC

Light ocean

A 9-color palette by Arthurits created by a mixture of light greens, blues, and purples

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.LightOcean();
foreach (var color in myPalette)
    Console.WriteLine(color);
#DFEDD9
#DBECDC
#DBEDE4
#DAEEEC
#DAEEF3
#DAE6F2
#DADEF1
#DEDAEE
#E5DAED

Light spectrum

A 9-color palette by Arthurits created by lightening the colors in the visible spectrum

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.LightSpectrum();
foreach (var color in myPalette)
    Console.WriteLine(color);
#FCE5E6
#FFF8E7
#FFFCE8
#EFF5E4
#E7F2E6
#DDF0F5
#E6F2FC
#E6EAF7
#EEE0F0

Microcharts

Soft color palette sourced from the Microcharts project: https://github.com/microcharts-dotnet/Microcharts

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Microcharts();
foreach (var color in myPalette)
    Console.WriteLine(color);
#266489
#68B9C0
#90D585
#F3C151
#F37F64
#424856
#8F97A4
#DAC096
#76846E
#DABFAF
#A65B69
#97A69D

Nero

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Nero();
foreach (var color in myPalette)
    Console.WriteLine(color);
#013A20
#478C5C
#94C973
#BACC81
#CDD193

Nord

From the Nord ConEmu color scheme: https://github.com/arcticicestudio/nord-conemu

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Nord();
foreach (var color in myPalette)
    Console.WriteLine(color);
#BF616A
#A3BE8C
#EBCB8B
#81A1C1
#B48EAD
#88C0D0
#E5E9F0

Xgfs Normal 6

A color palette adapted from Tsitsulin’s 6-color normal xgfs palette: http://tsitsul.in/blog/coloropt

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Normal();
foreach (var color in myPalette)
    Console.WriteLine(color);
#4053D3
#DDB310
#B51D14
#00BEFF
#FB49B0
#00B25D
#CACACA

One Half

A Sublime color scheme by Son A. Pham: https://github.com/sonph/onehalf

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.OneHalf();
foreach (var color in myPalette)
    Console.WriteLine(color);
#383A42
#E4564A
#50A14F
#C18402
#0084BC
#A626A4
#0897B3

One Half (Dark)

A Sublime color scheme by Son A. Pham: https://github.com/sonph/onehalf

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.OneHalfDark();
foreach (var color in myPalette)
    Console.WriteLine(color);
#E06C75
#98C379
#E5C07B
#61AFF0
#C678DD
#56B6C2
#DCDFE4

Pastel wheel

A 12-color palette by Arthurits created by lightening the color wheel

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.PastelWheel();
foreach (var color in myPalette)
    Console.WriteLine(color);
#F8C5C7
#FADEC3
#FBF6C4
#E1ECC8
#D7E8CB
#DAEBD7
#D9EEF3
#CADBED
#C7D2E6
#D4D1E5
#E8D3E6
#F8C7DE

Penumbra

A perceptually uniform color palette by Neal McKee: https://github.com/nealmckee/penumbra

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Penumbra();
foreach (var color in myPalette)
    Console.WriteLine(color);
#CB7459
#A38F2D
#46A473
#00A0BE
#7E87D6
#BD72A8

Polar Night

From the Nord collection of palettes: https://github.com/arcticicestudio/nord

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.PolarNight();
foreach (var color in myPalette)
    Console.WriteLine(color);
#2E3440
#3B4252
#434C5E
#4C566A

Redness

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Redness();
foreach (var color in myPalette)
    Console.WriteLine(color);
#FF0000
#FF4F00
#FFA900
#900303
#FF8181

Snow Storm

From the Nord collection of palettes: https://github.com/arcticicestudio/nord

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.SnowStorm();
foreach (var color in myPalette)
    Console.WriteLine(color);
#D8DEE9
#E5E9F0
#ECEFF4

Summer Splash

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.SummerSplash();
foreach (var color in myPalette)
    Console.WriteLine(color);
#05445E
#189AB4
#75E6DA
#D4F1F4

Xgfs 25

A 25-color palette by Arthurits adapted from Tsitsulin’s 12-color xgfs palette: http://tsitsul.in/blog/coloropt

This code sample is specific to ScottPlot 4 (details)
var myPalette = new ScottPlot.Palettes.Tsitsulin();
foreach (var color in myPalette)
    Console.WriteLine(color);
#EBAC23
#B80058
#008CF9
#006E00
#00BBAD
#D163E6
#B24502
#FF9287
#5954D6
#00C6F8
#878500
#00A76C
#F6DA9C
#FF5CAA
#8ACCFF
#4BFF4B
#6EFFF4
#EDC1F5
#FEAE7C
#FFC8C3
#BDBBEF
#BDF2FF
#FFFC43
#65FFC8
#AAAAAA