Table of Contents

Struct Colors

Namespace
ScottPlot
Assembly
ScottPlot.dll
public struct Colors
Inherited Members
Extension Methods

Fields

Category10

public static readonly Color[] Category10

Field Value

Color[]

Category20

public static readonly Color[] Category20

Field Value

Color[]

ColorblindFriendly

public static readonly Color[] ColorblindFriendly

Field Value

Color[]

Properties

AliceBlue

public static Color AliceBlue { get; }

Property Value

Color

AntiqueWhite

public static Color AntiqueWhite { get; }

Property Value

Color

Aqua

public static Color Aqua { get; }

Property Value

Color

Aquamarine

public static Color Aquamarine { get; }

Property Value

Color

Azure

public static Color Azure { get; }

Property Value

Color

Beige

public static Color Beige { get; }

Property Value

Color

Bisque

public static Color Bisque { get; }

Property Value

Color

Black

public static Color Black { get; }

Property Value

Color

BlanchedAlmond

public static Color BlanchedAlmond { get; }

Property Value

Color

Blue

public static Color Blue { get; }

Property Value

Color

BlueViolet

public static Color BlueViolet { get; }

Property Value

Color

Brown

public static Color Brown { get; }

Property Value

Color

BurlyWood

public static Color BurlyWood { get; }

Property Value

Color

C0

public static Color C0 { get; }

Property Value

Color

C1

public static Color C1 { get; }

Property Value

Color

C2

public static Color C2 { get; }

Property Value

Color

C3

public static Color C3 { get; }

Property Value

Color

C4

public static Color C4 { get; }

Property Value

Color

C5

public static Color C5 { get; }

Property Value

Color

C6

public static Color C6 { get; }

Property Value

Color

C7

public static Color C7 { get; }

Property Value

Color

C8

public static Color C8 { get; }

Property Value

Color

C9

public static Color C9 { get; }

Property Value

Color

CadetBlue

public static Color CadetBlue { get; }

Property Value

Color

Chartreuse

public static Color Chartreuse { get; }

Property Value

Color

Chocolate

public static Color Chocolate { get; }

Property Value

Color

Coral

public static Color Coral { get; }

Property Value

Color

CornflowerBlue

public static Color CornflowerBlue { get; }

Property Value

Color

Cornsilk

public static Color Cornsilk { get; }

Property Value

Color

Crimson

public static Color Crimson { get; }

Property Value

Color

Cyan

public static Color Cyan { get; }

Property Value

Color

DarkBlue

public static Color DarkBlue { get; }

Property Value

Color

DarkCyan

public static Color DarkCyan { get; }

Property Value

Color

DarkGoldenRod

public static Color DarkGoldenRod { get; }

Property Value

Color

DarkGray

public static Color DarkGray { get; }

Property Value

Color

DarkGreen

public static Color DarkGreen { get; }

Property Value

Color

DarkGrey

public static Color DarkGrey { get; }

Property Value

Color

DarkKhaki

public static Color DarkKhaki { get; }

Property Value

Color

DarkMagenta

public static Color DarkMagenta { get; }

Property Value

Color

DarkOliveGreen

public static Color DarkOliveGreen { get; }

Property Value

Color

DarkOrange

public static Color DarkOrange { get; }

Property Value

Color

DarkOrchid

public static Color DarkOrchid { get; }

Property Value

Color

DarkRed

public static Color DarkRed { get; }

Property Value

Color

DarkSalmon

public static Color DarkSalmon { get; }

Property Value

Color

DarkSeaGreen

public static Color DarkSeaGreen { get; }

Property Value

Color

DarkSlateBlue

public static Color DarkSlateBlue { get; }

Property Value

Color

DarkSlateGray

public static Color DarkSlateGray { get; }

Property Value

Color

DarkSlateGrey

public static Color DarkSlateGrey { get; }

Property Value

Color

DarkTurquoise

public static Color DarkTurquoise { get; }

Property Value

Color

DarkViolet

public static Color DarkViolet { get; }

Property Value

Color

DeepPink

public static Color DeepPink { get; }

Property Value

Color

DeepSkyBlue

public static Color DeepSkyBlue { get; }

Property Value

Color

DimGray

public static Color DimGray { get; }

Property Value

Color

DimGrey

public static Color DimGrey { get; }

Property Value

Color

DodgerBlue

public static Color DodgerBlue { get; }

Property Value

Color

FireBrick

public static Color FireBrick { get; }

Property Value

Color

FloralWhite

public static Color FloralWhite { get; }

Property Value

Color

ForestGreen

public static Color ForestGreen { get; }

Property Value

Color

Fuchsia

public static Color Fuchsia { get; }

Property Value

Color

Gainsboro

public static Color Gainsboro { get; }

Property Value

Color

GhostWhite

public static Color GhostWhite { get; }

Property Value

Color

Gold

public static Color Gold { get; }

Property Value

Color

GoldenRod

public static Color GoldenRod { get; }

Property Value

Color

Gray

public static Color Gray { get; }

Property Value

Color

Green

public static Color Green { get; }

Property Value

Color

GreenYellow

public static Color GreenYellow { get; }

Property Value

Color

Grey

public static Color Grey { get; }

Property Value

Color

HoneyDew

public static Color HoneyDew { get; }

Property Value

Color

HotPink

public static Color HotPink { get; }

Property Value

Color

IndianRed

public static Color IndianRed { get; }

Property Value

Color

Indigo

public static Color Indigo { get; }

Property Value

Color

Ivory

public static Color Ivory { get; }

Property Value

Color

Khaki

public static Color Khaki { get; }

Property Value

Color

Lavender

public static Color Lavender { get; }

Property Value

Color

LavenderBlush

public static Color LavenderBlush { get; }

Property Value

Color

LawnGreen

public static Color LawnGreen { get; }

Property Value

Color

LemonChiffon

public static Color LemonChiffon { get; }

Property Value

Color

LightBlue

public static Color LightBlue { get; }

Property Value

Color

LightCoral

public static Color LightCoral { get; }

Property Value

Color

LightCyan

public static Color LightCyan { get; }

Property Value

Color

LightGoldenRodYellow

public static Color LightGoldenRodYellow { get; }

Property Value

Color

LightGray

public static Color LightGray { get; }

Property Value

Color

LightGreen

public static Color LightGreen { get; }

Property Value

Color

LightGrey

public static Color LightGrey { get; }

Property Value

Color

LightPink

public static Color LightPink { get; }

Property Value

Color

LightSalmon

public static Color LightSalmon { get; }

Property Value

Color

LightSeaGreen

public static Color LightSeaGreen { get; }

Property Value

Color

LightSkyBlue

public static Color LightSkyBlue { get; }

Property Value

Color

LightSlateGray

public static Color LightSlateGray { get; }

Property Value

Color

LightSlateGrey

public static Color LightSlateGrey { get; }

Property Value

Color

LightSteelBlue

public static Color LightSteelBlue { get; }

Property Value

Color

LightYellow

public static Color LightYellow { get; }

Property Value

Color

Lime

public static Color Lime { get; }

Property Value

Color

LimeGreen

public static Color LimeGreen { get; }

Property Value

Color

Linen

public static Color Linen { get; }

Property Value

Color

Magenta

public static Color Magenta { get; }

Property Value

Color

Maroon

public static Color Maroon { get; }

Property Value

Color

MediumAquaMarine

public static Color MediumAquaMarine { get; }

Property Value

Color

MediumBlue

public static Color MediumBlue { get; }

Property Value

Color

MediumOrchid

public static Color MediumOrchid { get; }

Property Value

Color

MediumPurple

public static Color MediumPurple { get; }

Property Value

Color

MediumSeaGreen

public static Color MediumSeaGreen { get; }

Property Value

Color

MediumSlateBlue

public static Color MediumSlateBlue { get; }

Property Value

Color

MediumSpringGreen

public static Color MediumSpringGreen { get; }

Property Value

Color

MediumTurquoise

public static Color MediumTurquoise { get; }

Property Value

Color

MediumVioletRed

public static Color MediumVioletRed { get; }

Property Value

Color

MidnightBlue

public static Color MidnightBlue { get; }

Property Value

Color

MintCream

public static Color MintCream { get; }

Property Value

Color

MistyRose

public static Color MistyRose { get; }

Property Value

Color

Moccasin

public static Color Moccasin { get; }

Property Value

Color

NavajoWhite

public static Color NavajoWhite { get; }

Property Value

Color

Navy

public static Color Navy { get; }

Property Value

Color

OldLace

public static Color OldLace { get; }

Property Value

Color

Olive

public static Color Olive { get; }

Property Value

Color

OliveDrab

public static Color OliveDrab { get; }

Property Value

Color

Orange

public static Color Orange { get; }

Property Value

Color

OrangeRed

public static Color OrangeRed { get; }

Property Value

Color

Orchid

public static Color Orchid { get; }

Property Value

Color

PaleGoldenRod

public static Color PaleGoldenRod { get; }

Property Value

Color

PaleGreen

public static Color PaleGreen { get; }

Property Value

Color

PaleTurquoise

public static Color PaleTurquoise { get; }

Property Value

Color

PaleVioletRed

public static Color PaleVioletRed { get; }

Property Value

Color

PapayaWhip

public static Color PapayaWhip { get; }

Property Value

Color

PeachPuff

public static Color PeachPuff { get; }

Property Value

Color

Peru

public static Color Peru { get; }

Property Value

Color

Pink

public static Color Pink { get; }

Property Value

Color

Plum

public static Color Plum { get; }

Property Value

Color

PowderBlue

public static Color PowderBlue { get; }

Property Value

Color

Purple

public static Color Purple { get; }

Property Value

Color

RebeccaPurple

public static Color RebeccaPurple { get; }

Property Value

Color

Red

public static Color Red { get; }

Property Value

Color

RosyBrown

public static Color RosyBrown { get; }

Property Value

Color

RoyalBlue

public static Color RoyalBlue { get; }

Property Value

Color

SaddleBrown

public static Color SaddleBrown { get; }

Property Value

Color

Salmon

public static Color Salmon { get; }

Property Value

Color

SandyBrown

public static Color SandyBrown { get; }

Property Value

Color

SeaGreen

public static Color SeaGreen { get; }

Property Value

Color

SeaShell

public static Color SeaShell { get; }

Property Value

Color

Sienna

public static Color Sienna { get; }

Property Value

Color

Silver

public static Color Silver { get; }

Property Value

Color

SkyBlue

public static Color SkyBlue { get; }

Property Value

Color

SlateBlue

public static Color SlateBlue { get; }

Property Value

Color

SlateGray

public static Color SlateGray { get; }

Property Value

Color

SlateGrey

public static Color SlateGrey { get; }

Property Value

Color

Snow

public static Color Snow { get; }

Property Value

Color

SpringGreen

public static Color SpringGreen { get; }

Property Value

Color

SteelBlue

public static Color SteelBlue { get; }

Property Value

Color

Tan

public static Color Tan { get; }

Property Value

Color

Teal

public static Color Teal { get; }

Property Value

Color

Thistle

public static Color Thistle { get; }

Property Value

Color

Tomato

public static Color Tomato { get; }

Property Value

Color

Transparent

public static Color Transparent { get; }

Property Value

Color

Turquoise

public static Color Turquoise { get; }

Property Value

Color

Violet

public static Color Violet { get; }

Property Value

Color

Wheat

public static Color Wheat { get; }

Property Value

Color

White

public static Color White { get; }

Property Value

Color

WhiteSmoke

public static Color WhiteSmoke { get; }

Property Value

Color

Yellow

public static Color Yellow { get; }

Property Value

Color

YellowGreen

public static Color YellowGreen { get; }

Property Value

Color

Methods

GetNamedColors()

public static List<(string, Color)> GetNamedColors()

Returns

List<(string, Color)>

Rainbow(int)

Return a collection of colors with maximum saturation and evenly-spaced hues

public static IEnumerable<Color> Rainbow(int count)

Parameters

count int

Returns

IEnumerable<Color>

RandomHue(int)

Return a collection of colors with random hues. Because hues are random, near-matches may be present.

public static Color[] RandomHue(int count)

Parameters

count int

Returns

Color[]