Skip to the content.

PromptPlus API:Color

Build Publish License NuGet Downloads

Back to List Api

Color

Namespace: PPlus

Represents a color.

public struct Color

Inheritance ObjectValueTypeColor
Implements IEquatable<Color>

Properties

Aqua

Gets the color “Aqua” (RGB 0,255,255).

public static Color Aqua { get; }

Property Value

Color

Aquamarine1

Gets the color “Aquamarine1” (RGB 95,255,215).

public static Color Aquamarine1 { get; }

Property Value

Color

Aquamarine1_1

Gets the color “Aquamarine1_1” (RGB 135,255,215).

public static Color Aquamarine1_1 { get; }

Property Value

Color

Aquamarine3

Gets the color “Aquamarine3” (RGB 95,215,175).

public static Color Aquamarine3 { get; }

Property Value

Color

B

Gets the blue component.

public byte B { get; }

Property Value

Byte

Black

Gets the color “Black” (RGB 0,0,0).

public static Color Black { get; }

Property Value

Color

Blue

Gets the color “Blue” (RGB 0,0,255).

public static Color Blue { get; }

Property Value

Color

Blue1

Gets the color “Blue1” (RGB 0,0,255).

public static Color Blue1 { get; }

Property Value

Color

Blue3

Gets the color “Blue3” (RGB 0,0,175).

public static Color Blue3 { get; }

Property Value

Color

Blue3_1

Gets the color “Blue3_1” (RGB 0,0,215).

public static Color Blue3_1 { get; }

Property Value

Color

BlueViolet

Gets the color “BlueViolet” (RGB 95,0,255).

public static Color BlueViolet { get; }

Property Value

Color

CadetBlue

Gets the color “CadetBlue” (RGB 95,175,135).

public static Color CadetBlue { get; }

Property Value

Color

CadetBlue_1

Gets the color “CadetBlue_1” (RGB 95,175,175).

public static Color CadetBlue_1 { get; }

Property Value

Color

Chartreuse1

Gets the color “Chartreuse1” (RGB 135,255,0).

public static Color Chartreuse1 { get; }

Property Value

Color

Chartreuse2

Gets the color “Chartreuse2” (RGB 95,255,0).

public static Color Chartreuse2 { get; }

Property Value

Color

Chartreuse2_1

Gets the color “Chartreuse2_1” (RGB 135,215,0).

public static Color Chartreuse2_1 { get; }

Property Value

Color

Chartreuse3

Gets the color “Chartreuse3” (RGB 95,175,0).

public static Color Chartreuse3 { get; }

Property Value

Color

Chartreuse3_1

Gets the color “Chartreuse3_1” (RGB 95,215,0).

public static Color Chartreuse3_1 { get; }

Property Value

Color

Chartreuse4

Gets the color “Chartreuse4” (RGB 95,135,0).

public static Color Chartreuse4 { get; }

Property Value

Color

CornflowerBlue

Gets the color “CornflowerBlue” (RGB 95,135,255).

public static Color CornflowerBlue { get; }

Property Value

Color

Cornsilk1

Gets the color “Cornsilk1” (RGB 255,255,215).

public static Color Cornsilk1 { get; }

Property Value

Color

Cyan1

Gets the color “Cyan1” (RGB 0,255,255).

public static Color Cyan1 { get; }

Property Value

Color

Cyan2

Gets the color “Cyan2” (RGB 0,255,215).

public static Color Cyan2 { get; }

Property Value

Color

Cyan3

Gets the color “Cyan3” (RGB 0,215,175).

public static Color Cyan3 { get; }

Property Value

Color

DarkBlue

Gets the color “DarkBlue” (RGB 0,0,135).

public static Color DarkBlue { get; }

Property Value

Color

DarkCyan

Gets the color “DarkCyan” (RGB 0,175,135).

public static Color DarkCyan { get; }

Property Value

Color

DarkGoldenrod

Gets the color “DarkGoldenrod” (RGB 175,135,0).

public static Color DarkGoldenrod { get; }

Property Value

Color

DarkGreen

Gets the color “DarkGreen” (RGB 0,95,0).

public static Color DarkGreen { get; }

Property Value

Color

DarkKhaki

Gets the color “DarkKhaki” (RGB 175,175,95).

public static Color DarkKhaki { get; }

Property Value

Color

DarkMagenta

Gets the color “DarkMagenta” (RGB 135,0,135).

public static Color DarkMagenta { get; }

Property Value

Color

DarkMagenta_1

Gets the color “DarkMagenta_1” (RGB 135,0,175).

public static Color DarkMagenta_1 { get; }

Property Value

Color

DarkOliveGreen1

Gets the color “DarkOliveGreen1” (RGB 215,255,95).

public static Color DarkOliveGreen1 { get; }

Property Value

Color

DarkOliveGreen1_1

Gets the color “DarkOliveGreen1_1” (RGB 215,255,135).

public static Color DarkOliveGreen1_1 { get; }

Property Value

Color

DarkOliveGreen2

Gets the color “DarkOliveGreen2” (RGB 175,255,95).

public static Color DarkOliveGreen2 { get; }

Property Value

Color

DarkOliveGreen3

Gets the color “DarkOliveGreen3” (RGB 135,175,95).

public static Color DarkOliveGreen3 { get; }

Property Value

Color

DarkOliveGreen3_1

Gets the color “DarkOliveGreen3_1” (RGB 135,215,95).

public static Color DarkOliveGreen3_1 { get; }

Property Value

Color

DarkOliveGreen3_2

Gets the color “DarkOliveGreen3_2” (RGB 175,215,95).

public static Color DarkOliveGreen3_2 { get; }

Property Value

Color

DarkOrange

Gets the color “DarkOrange” (RGB 255,135,0).

public static Color DarkOrange { get; }

Property Value

Color

DarkOrange3

Gets the color “DarkOrange3” (RGB 175,95,0).

public static Color DarkOrange3 { get; }

Property Value

Color

DarkOrange3_1

Gets the color “DarkOrange3_1” (RGB 215,95,0).

public static Color DarkOrange3_1 { get; }

Property Value

Color

DarkRed

Gets the color “DarkRed” (RGB 95,0,0).

public static Color DarkRed { get; }

Property Value

Color

DarkRed_1

Gets the color “DarkRed_1” (RGB 135,0,0).

public static Color DarkRed_1 { get; }

Property Value

Color

DarkSeaGreen

Gets the color “DarkSeaGreen” (RGB 135,175,135).

public static Color DarkSeaGreen { get; }

Property Value

Color

DarkSeaGreen1

Gets the color “DarkSeaGreen1” (RGB 175,255,215).

public static Color DarkSeaGreen1 { get; }

Property Value

Color

DarkSeaGreen1_1

Gets the color “DarkSeaGreen1_1” (RGB 215,255,175).

public static Color DarkSeaGreen1_1 { get; }

Property Value

Color

DarkSeaGreen2

Gets the color “DarkSeaGreen2” (RGB 175,215,175).

public static Color DarkSeaGreen2 { get; }

Property Value

Color

DarkSeaGreen2_1

Gets the color “DarkSeaGreen2_1” (RGB 175,255,175).

public static Color DarkSeaGreen2_1 { get; }

Property Value

Color

DarkSeaGreen3

Gets the color “DarkSeaGreen3” (RGB 135,215,175).

public static Color DarkSeaGreen3 { get; }

Property Value

Color

DarkSeaGreen3_1

Gets the color “DarkSeaGreen3_1” (RGB 175,215,135).

public static Color DarkSeaGreen3_1 { get; }

Property Value

Color

DarkSeaGreen4

Gets the color “DarkSeaGreen4” (RGB 95,135,95).

public static Color DarkSeaGreen4 { get; }

Property Value

Color

DarkSeaGreen4_1

Gets the color “DarkSeaGreen4_1” (RGB 95,175,95).

public static Color DarkSeaGreen4_1 { get; }

Property Value

Color

DarkSlateGray1

Gets the color “DarkSlateGray1” (RGB 135,255,255).

public static Color DarkSlateGray1 { get; }

Property Value

Color

DarkSlateGray2

Gets the color “DarkSlateGray2” (RGB 95,255,255).

public static Color DarkSlateGray2 { get; }

Property Value

Color

DarkSlateGray3

Gets the color “DarkSlateGray3” (RGB 135,215,215).

public static Color DarkSlateGray3 { get; }

Property Value

Color

DarkTurquoise

Gets the color “DarkTurquoise” (RGB 0,215,215).

public static Color DarkTurquoise { get; }

Property Value

Color

DarkViolet

Gets the color “DarkViolet” (RGB 135,0,215).

public static Color DarkViolet { get; }

Property Value

Color

DarkViolet_1

Gets the color “DarkViolet_1” (RGB 175,0,215).

public static Color DarkViolet_1 { get; }

Property Value

Color

DeepPink1

Gets the color “DeepPink1” (RGB 255,0,135).

public static Color DeepPink1 { get; }

Property Value

Color

DeepPink1_1

Gets the color “DeepPink1_1” (RGB 255,0,175).

public static Color DeepPink1_1 { get; }

Property Value

Color

DeepPink2

Gets the color “DeepPink2” (RGB 255,0,95).

public static Color DeepPink2 { get; }

Property Value

Color

DeepPink3

Gets the color “DeepPink3” (RGB 215,0,95).

public static Color DeepPink3 { get; }

Property Value

Color

DeepPink3_1

Gets the color “DeepPink3_1” (RGB 215,0,135).

public static Color DeepPink3_1 { get; }

Property Value

Color

DeepPink4

Gets the color “DeepPink4” (RGB 95,0,95).

public static Color DeepPink4 { get; }

Property Value

Color

DeepPink4_1

Gets the color “DeepPink4_1” (RGB 135,0,95).

public static Color DeepPink4_1 { get; }

Property Value

Color

DeepPink4_2

Gets the color “DeepPink4_2” (RGB 175,0,95).

public static Color DeepPink4_2 { get; }

Property Value

Color

DeepSkyBlue1

Gets the color “DeepSkyBlue1” (RGB 0,175,255).

public static Color DeepSkyBlue1 { get; }

Property Value

Color

DeepSkyBlue2

Gets the color “DeepSkyBlue2” (RGB 0,175,215).

public static Color DeepSkyBlue2 { get; }

Property Value

Color

DeepSkyBlue3

Gets the color “DeepSkyBlue3” (RGB 0,135,175).

public static Color DeepSkyBlue3 { get; }

Property Value

Color

DeepSkyBlue3_1

Gets the color “DeepSkyBlue3_1” (RGB 0,135,215).

public static Color DeepSkyBlue3_1 { get; }

Property Value

Color

DeepSkyBlue4

Gets the color “DeepSkyBlue4” (RGB 0,95,95).

public static Color DeepSkyBlue4 { get; }

Property Value

Color

DeepSkyBlue4_1

Gets the color “DeepSkyBlue4_1” (RGB 0,95,135).

public static Color DeepSkyBlue4_1 { get; }

Property Value

Color

DeepSkyBlue4_2

Gets the color “DeepSkyBlue4_2” (RGB 0,95,175).

public static Color DeepSkyBlue4_2 { get; }

Property Value

Color

DefaultBackcolor

Gets the default Backcolor color.

public static Color DefaultBackcolor { get; internal set; }

Property Value

Color

DefaultForecolor

Gets the default Forecolor color.

public static Color DefaultForecolor { get; internal set; }

Property Value

Color

DodgerBlue1

Gets the color “DodgerBlue1” (RGB 0,135,255).

public static Color DodgerBlue1 { get; }

Property Value

Color

DodgerBlue2

Gets the color “DodgerBlue2” (RGB 0,95,255).

public static Color DodgerBlue2 { get; }

Property Value

Color

DodgerBlue3

Gets the color “DodgerBlue3” (RGB 0,95,215).

public static Color DodgerBlue3 { get; }

Property Value

Color

Fuchsia

Gets the color “Fuchsia” (RGB 255,0,255).

public static Color Fuchsia { get; }

Property Value

Color

G

Gets the green component.

public byte G { get; }

Property Value

Byte

Gold1

Gets the color “Gold1” (RGB 255,215,0).

public static Color Gold1 { get; }

Property Value

Color

Gold3

Gets the color “Gold3” (RGB 175,175,0).

public static Color Gold3 { get; }

Property Value

Color

Gold3_1

Gets the color “Gold3_1” (RGB 215,175,0).

public static Color Gold3_1 { get; }

Property Value

Color

Green

Gets the color “Green” (RGB 0,128,0).

public static Color Green { get; }

Property Value

Color

Green1

Gets the color “Green1” (RGB 0,255,0).

public static Color Green1 { get; }

Property Value

Color

Green3

Gets the color “Green3” (RGB 0,175,0).

public static Color Green3 { get; }

Property Value

Color

Green3_1

Gets the color “Green3_1” (RGB 0,215,0).

public static Color Green3_1 { get; }

Property Value

Color

Green4

Gets the color “Green4” (RGB 0,135,0).

public static Color Green4 { get; }

Property Value

Color

GreenYellow

Gets the color “GreenYellow” (RGB 175,255,0).

public static Color GreenYellow { get; }

Property Value

Color

Grey

Gets the color “Grey” (RGB 128,128,128).

public static Color Grey { get; }

Property Value

Color

Grey0

Gets the color “Grey0” (RGB 0,0,0).

public static Color Grey0 { get; }

Property Value

Color

Grey100

Gets the color “Grey100” (RGB 255,255,255).

public static Color Grey100 { get; }

Property Value

Color

Grey11

Gets the color “Grey11” (RGB 28,28,28).

public static Color Grey11 { get; }

Property Value

Color

Grey15

Gets the color “Grey15” (RGB 38,38,38).

public static Color Grey15 { get; }

Property Value

Color

Grey19

Gets the color “Grey19” (RGB 48,48,48).

public static Color Grey19 { get; }

Property Value

Color

Grey23

Gets the color “Grey23” (RGB 58,58,58).

public static Color Grey23 { get; }

Property Value

Color

Grey27

Gets the color “Grey27” (RGB 68,68,68).

public static Color Grey27 { get; }

Property Value

Color

Grey3

Gets the color “Grey3” (RGB 8,8,8).

public static Color Grey3 { get; }

Property Value

Color

Grey30

Gets the color “Grey30” (RGB 78,78,78).

public static Color Grey30 { get; }

Property Value

Color

Grey35

Gets the color “Grey35” (RGB 88,88,88).

public static Color Grey35 { get; }

Property Value

Color

Grey37

Gets the color “Grey37” (RGB 95,95,95).

public static Color Grey37 { get; }

Property Value

Color

Grey39

Gets the color “Grey39” (RGB 98,98,98).

public static Color Grey39 { get; }

Property Value

Color

Grey42

Gets the color “Grey42” (RGB 108,108,108).

public static Color Grey42 { get; }

Property Value

Color

Grey46

Gets the color “Grey46” (RGB 118,118,118).

public static Color Grey46 { get; }

Property Value

Color

Grey50

Gets the color “Grey50” (RGB 128,128,128).

public static Color Grey50 { get; }

Property Value

Color

Grey53

Gets the color “Grey53” (RGB 135,135,135).

public static Color Grey53 { get; }

Property Value

Color

Grey54

Gets the color “Grey54” (RGB 138,138,138).

public static Color Grey54 { get; }

Property Value

Color

Grey58

Gets the color “Grey58” (RGB 148,148,148).

public static Color Grey58 { get; }

Property Value

Color

Grey62

Gets the color “Grey62” (RGB 158,158,158).

public static Color Grey62 { get; }

Property Value

Color

Grey63

Gets the color “Grey63” (RGB 175,135,175).

public static Color Grey63 { get; }

Property Value

Color

Grey66

Gets the color “Grey66” (RGB 168,168,168).

public static Color Grey66 { get; }

Property Value

Color

Grey69

Gets the color “Grey69” (RGB 175,175,175).

public static Color Grey69 { get; }

Property Value

Color

Grey7

Gets the color “Grey7” (RGB 18,18,18).

public static Color Grey7 { get; }

Property Value

Color

Grey70

Gets the color “Grey70” (RGB 178,178,178).

public static Color Grey70 { get; }

Property Value

Color

Grey74

Gets the color “Grey74” (RGB 188,188,188).

public static Color Grey74 { get; }

Property Value

Color

Grey78

Gets the color “Grey78” (RGB 198,198,198).

public static Color Grey78 { get; }

Property Value

Color

Grey82

Gets the color “Grey82” (RGB 208,208,208).

public static Color Grey82 { get; }

Property Value

Color

Grey84

Gets the color “Grey84” (RGB 215,215,215).

public static Color Grey84 { get; }

Property Value

Color

Grey85

Gets the color “Grey85” (RGB 218,218,218).

public static Color Grey85 { get; }

Property Value

Color

Grey89

Gets the color “Grey89” (RGB 228,228,228).

public static Color Grey89 { get; }

Property Value

Color

Grey93

Gets the color “Grey93” (RGB 238,238,238).

public static Color Grey93 { get; }

Property Value

Color

Honeydew2

Gets the color “Honeydew2” (RGB 215,255,215).

public static Color Honeydew2 { get; }

Property Value

Color

HotPink

Gets the color “HotPink” (RGB 255,95,175).

public static Color HotPink { get; }

Property Value

Color

HotPink_1

Gets the color “HotPink_1” (RGB 255,95,215).

public static Color HotPink_1 { get; }

Property Value

Color

HotPink2

Gets the color “HotPink2” (RGB 215,95,175).

public static Color HotPink2 { get; }

Property Value

Color

HotPink3

Gets the color “HotPink3” (RGB 175,95,135).

public static Color HotPink3 { get; }

Property Value

Color

HotPink3_1

Gets the color “HotPink3_1” (RGB 215,95,135).

public static Color HotPink3_1 { get; }

Property Value

Color

IndianRed

Gets the color “IndianRed” (RGB 175,95,95).

public static Color IndianRed { get; }

Property Value

Color

IndianRed_1

Gets the color “IndianRed_1” (RGB 215,95,95).

public static Color IndianRed_1 { get; }

Property Value

Color

IndianRed1

Gets the color “IndianRed1” (RGB 255,95,95).

public static Color IndianRed1 { get; }

Property Value

Color

IndianRed1_1

Gets the color “IndianRed1_1” (RGB 255,95,135).

public static Color IndianRed1_1 { get; }

Property Value

Color

Khaki1

Gets the color “Khaki1” (RGB 255,255,135).

public static Color Khaki1 { get; }

Property Value

Color

Khaki3

Gets the color “Khaki3” (RGB 215,215,95).

public static Color Khaki3 { get; }

Property Value

Color

LightCoral

Gets the color “LightCoral” (RGB 255,135,135).

public static Color LightCoral { get; }

Property Value

Color

LightCyan1

Gets the color “LightCyan1” (RGB 215,255,255).

public static Color LightCyan1 { get; }

Property Value

Color

LightCyan3

Gets the color “LightCyan3” (RGB 175,215,215).

public static Color LightCyan3 { get; }

Property Value

Color

LightGoldenrod1

Gets the color “LightGoldenrod1” (RGB 255,255,95).

public static Color LightGoldenrod1 { get; }

Property Value

Color

LightGoldenrod2

Gets the color “LightGoldenrod2” (RGB 215,215,135).

public static Color LightGoldenrod2 { get; }

Property Value

Color

LightGoldenrod2_1

Gets the color “LightGoldenrod2_1” (RGB 255,215,95).

public static Color LightGoldenrod2_1 { get; }

Property Value

Color

LightGoldenrod2_2

Gets the color “LightGoldenrod2_2” (RGB 255,215,135).

public static Color LightGoldenrod2_2 { get; }

Property Value

Color

LightGoldenrod3

Gets the color “LightGoldenrod3” (RGB 215,175,95).

public static Color LightGoldenrod3 { get; }

Property Value

Color

LightGreen

Gets the color “LightGreen” (RGB 135,255,95).

public static Color LightGreen { get; }

Property Value

Color

LightGreen_1

Gets the color “LightGreen_1” (RGB 135,255,135).

public static Color LightGreen_1 { get; }

Property Value

Color

LightPink1

Gets the color “LightPink1” (RGB 255,175,175).

public static Color LightPink1 { get; }

Property Value

Color

LightPink3

Gets the color “LightPink3” (RGB 215,135,135).

public static Color LightPink3 { get; }

Property Value

Color

LightPink4

Gets the color “LightPink4” (RGB 135,95,95).

public static Color LightPink4 { get; }

Property Value

Color

LightSalmon1

Gets the color “LightSalmon1” (RGB 255,175,135).

public static Color LightSalmon1 { get; }

Property Value

Color

LightSalmon3

Gets the color “LightSalmon3” (RGB 175,135,95).

public static Color LightSalmon3 { get; }

Property Value

Color

LightSalmon3_1

Gets the color “LightSalmon3_1” (RGB 215,135,95).

public static Color LightSalmon3_1 { get; }

Property Value

Color

LightSeaGreen

Gets the color “LightSeaGreen” (RGB 0,175,175).

public static Color LightSeaGreen { get; }

Property Value

Color

LightSkyBlue1

Gets the color “LightSkyBlue1” (RGB 175,215,255).

public static Color LightSkyBlue1 { get; }

Property Value

Color

LightSkyBlue3

Gets the color “LightSkyBlue3” (RGB 135,175,175).

public static Color LightSkyBlue3 { get; }

Property Value

Color

LightSkyBlue3_1

Gets the color “LightSkyBlue3_1” (RGB 135,175,215).

public static Color LightSkyBlue3_1 { get; }

Property Value

Color

LightSlateBlue

Gets the color “LightSlateBlue” (RGB 135,135,255).

public static Color LightSlateBlue { get; }

Property Value

Color

LightSlateGrey

Gets the color “LightSlateGrey” (RGB 135,135,175).

public static Color LightSlateGrey { get; }

Property Value

Color

LightSteelBlue

Gets the color “LightSteelBlue” (RGB 175,175,255).

public static Color LightSteelBlue { get; }

Property Value

Color

LightSteelBlue1

Gets the color “LightSteelBlue1” (RGB 215,215,255).

public static Color LightSteelBlue1 { get; }

Property Value

Color

LightSteelBlue3

Gets the color “LightSteelBlue3” (RGB 175,175,215).

public static Color LightSteelBlue3 { get; }

Property Value

Color

LightYellow3

Gets the color “LightYellow3” (RGB 215,215,175).

public static Color LightYellow3 { get; }

Property Value

Color

Lime

Gets the color “Lime” (RGB 0,255,0).

public static Color Lime { get; }

Property Value

Color

Magenta1

Gets the color “Magenta1” (RGB 255,0,255).

public static Color Magenta1 { get; }

Property Value

Color

Magenta2

Gets the color “Magenta2” (RGB 215,0,255).

public static Color Magenta2 { get; }

Property Value

Color

Magenta2_1

Gets the color “Magenta2_1” (RGB 255,0,215).

public static Color Magenta2_1 { get; }

Property Value

Color

Magenta3

Gets the color “Magenta3” (RGB 175,0,175).

public static Color Magenta3 { get; }

Property Value

Color

Magenta3_1

Gets the color “Magenta3_1” (RGB 215,0,175).

public static Color Magenta3_1 { get; }

Property Value

Color

Magenta3_2

Gets the color “Magenta3_2” (RGB 215,0,215).

public static Color Magenta3_2 { get; }

Property Value

Color

Maroon

Gets the color “Maroon” (RGB 128,0,0).

public static Color Maroon { get; }

Property Value

Color

MediumOrchid

Gets the color “MediumOrchid” (RGB 175,95,215).

public static Color MediumOrchid { get; }

Property Value

Color

MediumOrchid1

Gets the color “MediumOrchid1” (RGB 215,95,255).

public static Color MediumOrchid1 { get; }

Property Value

Color

MediumOrchid1_1

Gets the color “MediumOrchid1_1” (RGB 255,95,255).

public static Color MediumOrchid1_1 { get; }

Property Value

Color

MediumOrchid3

Gets the color “MediumOrchid3” (RGB 175,95,175).

public static Color MediumOrchid3 { get; }

Property Value

Color

MediumPurple

Gets the color “MediumPurple” (RGB 135,135,215).

public static Color MediumPurple { get; }

Property Value

Color

MediumPurple1

Gets the color “MediumPurple1” (RGB 175,135,255).

public static Color MediumPurple1 { get; }

Property Value

Color

MediumPurple2

Gets the color “MediumPurple2” (RGB 175,95,255).

public static Color MediumPurple2 { get; }

Property Value

Color

MediumPurple2_1

Gets the color “MediumPurple2_1” (RGB 175,135,215).

public static Color MediumPurple2_1 { get; }

Property Value

Color

MediumPurple3

Gets the color “MediumPurple3” (RGB 135,95,175).

public static Color MediumPurple3 { get; }

Property Value

Color

MediumPurple3_1

Gets the color “MediumPurple3_1” (RGB 135,95,215).

public static Color MediumPurple3_1 { get; }

Property Value

Color

MediumPurple4

Gets the color “MediumPurple4” (RGB 95,95,135).

public static Color MediumPurple4 { get; }

Property Value

Color

MediumSpringGreen

Gets the color “MediumSpringGreen” (RGB 0,255,175).

public static Color MediumSpringGreen { get; }

Property Value

Color

MediumTurquoise

Gets the color “MediumTurquoise” (RGB 95,215,215).

public static Color MediumTurquoise { get; }

Property Value

Color

MediumVioletRed

Gets the color “MediumVioletRed” (RGB 175,0,135).

public static Color MediumVioletRed { get; }

Property Value

Color

MistyRose1

Gets the color “MistyRose1” (RGB 255,215,215).

public static Color MistyRose1 { get; }

Property Value

Color

MistyRose3

Gets the color “MistyRose3” (RGB 215,175,175).

public static Color MistyRose3 { get; }

Property Value

Color

Gets the color “NavajoWhite1” (RGB 255,215,175).

public static Color NavajoWhite1 { get; }

Property Value

Color

Gets the color “NavajoWhite3” (RGB 175,175,135).

public static Color NavajoWhite3 { get; }

Property Value

Color

Gets the color “Navy” (RGB 0,0,128).

public static Color Navy { get; }

Property Value

Color

Gets the color “NavyBlue” (RGB 0,0,95).

public static Color NavyBlue { get; }

Property Value

Color

Olive

Gets the color “Olive” (RGB 128,128,0).

public static Color Olive { get; }

Property Value

Color

Orange1

Gets the color “Orange1” (RGB 255,175,0).

public static Color Orange1 { get; }

Property Value

Color

Orange3

Gets the color “Orange3” (RGB 215,135,0).

public static Color Orange3 { get; }

Property Value

Color

Orange4

Gets the color “Orange4” (RGB 95,95,0).

public static Color Orange4 { get; }

Property Value

Color

Orange4_1

Gets the color “Orange4_1” (RGB 135,95,0).

public static Color Orange4_1 { get; }

Property Value

Color

OrangeRed1

Gets the color “OrangeRed1” (RGB 255,95,0).

public static Color OrangeRed1 { get; }

Property Value

Color

Orchid

Gets the color “Orchid” (RGB 215,95,215).

public static Color Orchid { get; }

Property Value

Color

Orchid1

Gets the color “Orchid1” (RGB 255,135,255).

public static Color Orchid1 { get; }

Property Value

Color

Orchid2

Gets the color “Orchid2” (RGB 255,135,215).

public static Color Orchid2 { get; }

Property Value

Color

PaleGreen1

Gets the color “PaleGreen1” (RGB 135,255,175).

public static Color PaleGreen1 { get; }

Property Value

Color

PaleGreen1_1

Gets the color “PaleGreen1_1” (RGB 175,255,135).

public static Color PaleGreen1_1 { get; }

Property Value

Color

PaleGreen3

Gets the color “PaleGreen3” (RGB 95,215,95).

public static Color PaleGreen3 { get; }

Property Value

Color

PaleGreen3_1

Gets the color “PaleGreen3_1” (RGB 135,215,135).

public static Color PaleGreen3_1 { get; }

Property Value

Color

PaleTurquoise1

Gets the color “PaleTurquoise1” (RGB 175,255,255).

public static Color PaleTurquoise1 { get; }

Property Value

Color

PaleTurquoise4

Gets the color “PaleTurquoise4” (RGB 95,135,135).

public static Color PaleTurquoise4 { get; }

Property Value

Color

PaleVioletRed1

Gets the color “PaleVioletRed1” (RGB 255,135,175).

public static Color PaleVioletRed1 { get; }

Property Value

Color

Pink1

Gets the color “Pink1” (RGB 255,175,215).

public static Color Pink1 { get; }

Property Value

Color

Pink3

Gets the color “Pink3” (RGB 215,135,175).

public static Color Pink3 { get; }

Property Value

Color

Plum1

Gets the color “Plum1” (RGB 255,175,255).

public static Color Plum1 { get; }

Property Value

Color

Plum2

Gets the color “Plum2” (RGB 215,175,255).

public static Color Plum2 { get; }

Property Value

Color

Plum3

Gets the color “Plum3” (RGB 215,135,215).

public static Color Plum3 { get; }

Property Value

Color

Plum4

Gets the color “Plum4” (RGB 135,95,135).

public static Color Plum4 { get; }

Property Value

Color

Purple

Gets the color “Purple” (RGB 128,0,128).

public static Color Purple { get; }

Property Value

Color

Purple_1

Gets the color “Purple_1” (RGB 135,0,255).

public static Color Purple_1 { get; }

Property Value

Color

Purple_2

Gets the color “Purple_2” (RGB 175,0,255).

public static Color Purple_2 { get; }

Property Value

Color

Purple3

Gets the color “Purple3” (RGB 95,0,215).

public static Color Purple3 { get; }

Property Value

Color

Purple4

Gets the color “Purple4” (RGB 95,0,135).

public static Color Purple4 { get; }

Property Value

Color

Purple4_1

Gets the color “Purple4_1” (RGB 95,0,175).

public static Color Purple4_1 { get; }

Property Value

Color

R

Gets the red component.

public byte R { get; }

Property Value

Byte

Red

Gets the color “Red” (RGB 255,0,0).

public static Color Red { get; }

Property Value

Color

Red1

Gets the color “Red1” (RGB 255,0,0).

public static Color Red1 { get; }

Property Value

Color

Red3

Gets the color “Red3” (RGB 175,0,0).

public static Color Red3 { get; }

Property Value

Color

Red3_1

Gets the color “Red3_1” (RGB 215,0,0).

public static Color Red3_1 { get; }

Property Value

Color

RosyBrown

Gets the color “RosyBrown” (RGB 175,135,135).

public static Color RosyBrown { get; }

Property Value

Color

RoyalBlue1

Gets the color “RoyalBlue1” (RGB 95,95,255).

public static Color RoyalBlue1 { get; }

Property Value

Color

Salmon1

Gets the color “Salmon1” (RGB 255,135,95).

public static Color Salmon1 { get; }

Property Value

Color

SandyBrown

Gets the color “SandyBrown” (RGB 255,175,95).

public static Color SandyBrown { get; }

Property Value

Color

SeaGreen1

Gets the color “SeaGreen1” (RGB 95,255,135).

public static Color SeaGreen1 { get; }

Property Value

Color

SeaGreen1_1

Gets the color “SeaGreen1_1” (RGB 95,255,175).

public static Color SeaGreen1_1 { get; }

Property Value

Color

SeaGreen2

Gets the color “SeaGreen2” (RGB 95,255,95).

public static Color SeaGreen2 { get; }

Property Value

Color

SeaGreen3

Gets the color “SeaGreen3” (RGB 95,215,135).

public static Color SeaGreen3 { get; }

Property Value

Color

Silver

Gets the color “Silver” (RGB 192,192,192).

public static Color Silver { get; }

Property Value

Color

SkyBlue1

Gets the color “SkyBlue1” (RGB 135,215,255).

public static Color SkyBlue1 { get; }

Property Value

Color

SkyBlue2

Gets the color “SkyBlue2” (RGB 135,175,255).

public static Color SkyBlue2 { get; }

Property Value

Color

SkyBlue3

Gets the color “SkyBlue3” (RGB 95,175,215).

public static Color SkyBlue3 { get; }

Property Value

Color

SlateBlue1

Gets the color “SlateBlue1” (RGB 135,95,255).

public static Color SlateBlue1 { get; }

Property Value

Color

SlateBlue3

Gets the color “SlateBlue3” (RGB 95,95,175).

public static Color SlateBlue3 { get; }

Property Value

Color

SlateBlue3_1

Gets the color “SlateBlue3_1” (RGB 95,95,215).

public static Color SlateBlue3_1 { get; }

Property Value

Color

SpringGreen1

Gets the color “SpringGreen1” (RGB 0,255,135).

public static Color SpringGreen1 { get; }

Property Value

Color

SpringGreen2

Gets the color “SpringGreen2” (RGB 0,215,135).

public static Color SpringGreen2 { get; }

Property Value

Color

SpringGreen2_1

Gets the color “SpringGreen2_1” (RGB 0,255,95).

public static Color SpringGreen2_1 { get; }

Property Value

Color

SpringGreen3

Gets the color “SpringGreen3” (RGB 0,175,95).

public static Color SpringGreen3 { get; }

Property Value

Color

SpringGreen3_1

Gets the color “SpringGreen3_1” (RGB 0,215,95).

public static Color SpringGreen3_1 { get; }

Property Value

Color

SpringGreen4

Gets the color “SpringGreen4” (RGB 0,135,95).

public static Color SpringGreen4 { get; }

Property Value

Color

SteelBlue

Gets the color “SteelBlue” (RGB 95,135,175).

public static Color SteelBlue { get; }

Property Value

Color

SteelBlue1

Gets the color “SteelBlue1” (RGB 95,175,255).

public static Color SteelBlue1 { get; }

Property Value

Color

SteelBlue1_1

Gets the color “SteelBlue1_1” (RGB 95,215,255).

public static Color SteelBlue1_1 { get; }

Property Value

Color

SteelBlue3

Gets the color “SteelBlue3” (RGB 95,135,215).

public static Color SteelBlue3 { get; }

Property Value

Color

Tan

Gets the color “Tan” (RGB 215,175,135).

public static Color Tan { get; }

Property Value

Color

Teal

Gets the color “Teal” (RGB 0,128,128).

public static Color Teal { get; }

Property Value

Color

Thistle1

Gets the color “Thistle1” (RGB 255,215,255).

public static Color Thistle1 { get; }

Property Value

Color

Thistle3

Gets the color “Thistle3” (RGB 215,175,215).

public static Color Thistle3 { get; }

Property Value

Color

Turquoise2

Gets the color “Turquoise2” (RGB 0,215,255).

public static Color Turquoise2 { get; }

Property Value

Color

Turquoise4

Gets the color “Turquoise4” (RGB 0,135,135).

public static Color Turquoise4 { get; }

Property Value

Color

Violet

Gets the color “Violet” (RGB 215,135,255).

public static Color Violet { get; }

Property Value

Color

Wheat1

Gets the color “Wheat1” (RGB 255,255,175).

public static Color Wheat1 { get; }

Property Value

Color

Wheat4

Gets the color “Wheat4” (RGB 135,135,95).

public static Color Wheat4 { get; }

Property Value

Color

White

Gets the color “White” (RGB 255,255,255).

public static Color White { get; }

Property Value

Color

Yellow

Gets the color “Yellow” (RGB 255,255,0).

public static Color Yellow { get; }

Property Value

Color

Yellow1

Gets the color “Yellow1” (RGB 255,255,0).

public static Color Yellow1 { get; }

Property Value

Color

Yellow2

Gets the color “Yellow2” (RGB 215,255,0).

public static Color Yellow2 { get; }

Property Value

Color

Yellow3

Gets the color “Yellow3” (RGB 175,215,0).

public static Color Yellow3 { get; }

Property Value

Color

Yellow3_1

Gets the color “Yellow3_1” (RGB 215,215,0).

public static Color Yellow3_1 { get; }

Property Value

Color

Yellow4

Gets the color “Yellow4” (RGB 135,135,0).

public static Color Yellow4 { get; }

Property Value

Color

Yellow4_1

Gets the color “Yellow4_1” (RGB 135,175,0).

public static Color Yellow4_1 { get; }

Property Value

Color

Constructors

Color(Byte, Byte, Byte)

Initializes a new instance of the Color struct.

Color(byte red, byte green, byte blue)

Parameters

red Byte
The red component.

green Byte
The green component.

blue Byte
The blue component.

Methods

Blend(Color, Single)

Blends two colors.

Color Blend(Color other, float factor)

Parameters

other Color
The other color.

factor Single
The blend factor.

Returns

The resulting color.

Equals(Object)

Checks if Color are equal the instance.

bool Equals(object obj)

Parameters

obj Object
The object to compare

Returns

true if the two colors are equal, otherwise false.

Equals(Color)

Checks if Color are equal the instance.

bool Equals(Color other)

Parameters

other Color
The Color

Returns

true if the two colors are equal, otherwise false.

FromConsoleColor(ConsoleColor)

Converts a to a Color.

Color FromConsoleColor(ConsoleColor color)

Parameters

color ConsoleColor
The color to convert.

Returns

A Color representing the .

FromHex(Color)

Gets the hexadecimal representation of the color.

string FromHex(Color value)

Parameters

value Color
The Color

Returns

The hexadecimal representation of the color.

FromHtml(String)

Converts string color Html format (#RRGGBB) into Color.

Color FromHtml(string value)

Parameters

value String
The html color to convert.

Returns

A Color.

FromInt32(Int32)

Converts a color number into a Color.

Color FromInt32(int number)

Parameters

number Int32
The color number.

Returns

The color representing the specified color number.

GetHashCode()

int GetHashCode()

Returns

Int32

GetInvertedColor()

Get Inverted color by Luminance for best contrast

Color GetInvertedColor()

Returns

Color White or Black

ToConsoleColor(Color)

Converts a Color to a .

ConsoleColor ToConsoleColor(Color color)

Parameters

color Color
The color to convert.

Returns

A representing the Color.

ToString()

Convert to string

string ToString()

Returns

The String


Back to List Api