OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Struct Color

Namespace: System.Drawing
Assembly: OpenMod.Unturned.Module.Shared.dll
Syntax
public struct Color

Fields

| Improve this Doc View Source

Empty

Declaration
public static readonly Color Empty
Field Value
Type Description
Color

Properties

| Improve this Doc View Source

A

Declaration
public byte A { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

AliceBlue

Declaration
public static Color AliceBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

AntiqueWhite

Declaration
public static Color AntiqueWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Aqua

Declaration
public static Color Aqua { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Aquamarine

Declaration
public static Color Aquamarine { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Azure

Declaration
public static Color Azure { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

B

Declaration
public byte B { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Beige

Declaration
public static Color Beige { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Bisque

Declaration
public static Color Bisque { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Black

Declaration
public static Color Black { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BlanchedAlmond

Declaration
public static Color BlanchedAlmond { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Blue

Declaration
public static Color Blue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BlueViolet

Declaration
public static Color BlueViolet { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Brown

Declaration
public static Color Brown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BurlyWood

Declaration
public static Color BurlyWood { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

CadetBlue

Declaration
public static Color CadetBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Chartreuse

Declaration
public static Color Chartreuse { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Chocolate

Declaration
public static Color Chocolate { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Coral

Declaration
public static Color Coral { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

CornflowerBlue

Declaration
public static Color CornflowerBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Cornsilk

Declaration
public static Color Cornsilk { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Crimson

Declaration
public static Color Crimson { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Cyan

Declaration
public static Color Cyan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkBlue

Declaration
public static Color DarkBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkCyan

Declaration
public static Color DarkCyan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkGoldenrod

Declaration
public static Color DarkGoldenrod { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkGray

Declaration
public static Color DarkGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkGreen

Declaration
public static Color DarkGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkKhaki

Declaration
public static Color DarkKhaki { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkMagenta

Declaration
public static Color DarkMagenta { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkOliveGreen

Declaration
public static Color DarkOliveGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkOrange

Declaration
public static Color DarkOrange { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkOrchid

Declaration
public static Color DarkOrchid { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkRed

Declaration
public static Color DarkRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSalmon

Declaration
public static Color DarkSalmon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSeaGreen

Declaration
public static Color DarkSeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSlateBlue

Declaration
public static Color DarkSlateBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkSlateGray

Declaration
public static Color DarkSlateGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkTurquoise

Declaration
public static Color DarkTurquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DarkViolet

Declaration
public static Color DarkViolet { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DeepPink

Declaration
public static Color DeepPink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DeepSkyBlue

Declaration
public static Color DeepSkyBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DimGray

Declaration
public static Color DimGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

DodgerBlue

Declaration
public static Color DodgerBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Firebrick

Declaration
public static Color Firebrick { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

FloralWhite

Declaration
public static Color FloralWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

ForestGreen

Declaration
public static Color ForestGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Fuchsia

Declaration
public static Color Fuchsia { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

G

Declaration
public byte G { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Gainsboro

Declaration
public static Color Gainsboro { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

GhostWhite

Declaration
public static Color GhostWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Gold

Declaration
public static Color Gold { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Goldenrod

Declaration
public static Color Goldenrod { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Gray

Declaration
public static Color Gray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Green

Declaration
public static Color Green { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

GreenYellow

Declaration
public static Color GreenYellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Honeydew

Declaration
public static Color Honeydew { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

HotPink

Declaration
public static Color HotPink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

IndianRed

Declaration
public static Color IndianRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Indigo

Declaration
public static Color Indigo { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsKnownColor

Declaration
public bool IsKnownColor { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsNamedColor

Declaration
public bool IsNamedColor { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSystemColor

Declaration
public bool IsSystemColor { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Ivory

Declaration
public static Color Ivory { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Khaki

Declaration
public static Color Khaki { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Lavender

Declaration
public static Color Lavender { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LavenderBlush

Declaration
public static Color LavenderBlush { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LawnGreen

Declaration
public static Color LawnGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LemonChiffon

Declaration
public static Color LemonChiffon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightBlue

Declaration
public static Color LightBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightCoral

Declaration
public static Color LightCoral { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightCyan

Declaration
public static Color LightCyan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightGoldenrodYellow

Declaration
public static Color LightGoldenrodYellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightGray

Declaration
public static Color LightGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightGreen

Declaration
public static Color LightGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightPink

Declaration
public static Color LightPink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSalmon

Declaration
public static Color LightSalmon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSeaGreen

Declaration
public static Color LightSeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSkyBlue

Declaration
public static Color LightSkyBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSlateGray

Declaration
public static Color LightSlateGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightSteelBlue

Declaration
public static Color LightSteelBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LightYellow

Declaration
public static Color LightYellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Lime

Declaration
public static Color Lime { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LimeGreen

Declaration
public static Color LimeGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Linen

Declaration
public static Color Linen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Magenta

Declaration
public static Color Magenta { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Maroon

Declaration
public static Color Maroon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumAquamarine

Declaration
public static Color MediumAquamarine { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumBlue

Declaration
public static Color MediumBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumOrchid

Declaration
public static Color MediumOrchid { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumPurple

Declaration
public static Color MediumPurple { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumSeaGreen

Declaration
public static Color MediumSeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumSlateBlue

Declaration
public static Color MediumSlateBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumSpringGreen

Declaration
public static Color MediumSpringGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumTurquoise

Declaration
public static Color MediumTurquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MediumVioletRed

Declaration
public static Color MediumVioletRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MidnightBlue

Declaration
public static Color MidnightBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MintCream

Declaration
public static Color MintCream { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

MistyRose

Declaration
public static Color MistyRose { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Moccasin

Declaration
public static Color Moccasin { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

NavajoWhite

Declaration
public static Color NavajoWhite { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Navy

Declaration
public static Color Navy { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

OldLace

Declaration
public static Color OldLace { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Olive

Declaration
public static Color Olive { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

OliveDrab

Declaration
public static Color OliveDrab { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Orange

Declaration
public static Color Orange { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

OrangeRed

Declaration
public static Color OrangeRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Orchid

Declaration
public static Color Orchid { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleGoldenrod

Declaration
public static Color PaleGoldenrod { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleGreen

Declaration
public static Color PaleGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleTurquoise

Declaration
public static Color PaleTurquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PaleVioletRed

Declaration
public static Color PaleVioletRed { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PapayaWhip

Declaration
public static Color PapayaWhip { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PeachPuff

Declaration
public static Color PeachPuff { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Peru

Declaration
public static Color Peru { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Pink

Declaration
public static Color Pink { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Plum

Declaration
public static Color Plum { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

PowderBlue

Declaration
public static Color PowderBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Purple

Declaration
public static Color Purple { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

R

Declaration
public byte R { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Red

Declaration
public static Color Red { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

RosyBrown

Declaration
public static Color RosyBrown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

RoyalBlue

Declaration
public static Color RoyalBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SaddleBrown

Declaration
public static Color SaddleBrown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Salmon

Declaration
public static Color Salmon { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SandyBrown

Declaration
public static Color SandyBrown { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SeaGreen

Declaration
public static Color SeaGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SeaShell

Declaration
public static Color SeaShell { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Sienna

Declaration
public static Color Sienna { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Silver

Declaration
public static Color Silver { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SkyBlue

Declaration
public static Color SkyBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SlateBlue

Declaration
public static Color SlateBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SlateGray

Declaration
public static Color SlateGray { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Snow

Declaration
public static Color Snow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SpringGreen

Declaration
public static Color SpringGreen { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

SteelBlue

Declaration
public static Color SteelBlue { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Tan

Declaration
public static Color Tan { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Teal

Declaration
public static Color Teal { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Thistle

Declaration
public static Color Thistle { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Tomato

Declaration
public static Color Tomato { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Transparent

Declaration
public static Color Transparent { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Turquoise

Declaration
public static Color Turquoise { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Violet

Declaration
public static Color Violet { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Wheat

Declaration
public static Color Wheat { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

White

Declaration
public static Color White { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

WhiteSmoke

Declaration
public static Color WhiteSmoke { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

Yellow

Declaration
public static Color Yellow { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

YellowGreen

Declaration
public static Color YellowGreen { get; }
Property Value
Type Description
Color

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

FromArgb(Int32)

Declaration
public static Color FromArgb(int argb)
Parameters
Type Name Description
System.Int32 argb
Returns
Type Description
Color
| Improve this Doc View Source

FromArgb(Int32, Color)

Declaration
public static Color FromArgb(int alpha, Color baseColor)
Parameters
Type Name Description
System.Int32 alpha
Color baseColor
Returns
Type Description
Color
| Improve this Doc View Source

FromArgb(Int32, Int32, Int32)

Declaration
public static Color FromArgb(int red, int green, int blue)
Parameters
Type Name Description
System.Int32 red
System.Int32 green
System.Int32 blue
Returns
Type Description
Color
| Improve this Doc View Source

FromArgb(Int32, Int32, Int32, Int32)

Declaration
public static Color FromArgb(int alpha, int red, int green, int blue)
Parameters
Type Name Description
System.Int32 alpha
System.Int32 red
System.Int32 green
System.Int32 blue
Returns
Type Description
Color
| Improve this Doc View Source

FromKnownColor(KnownColor)

Declaration
public static Color FromKnownColor(KnownColor color)
Parameters
Type Name Description
KnownColor color
Returns
Type Description
Color
| Improve this Doc View Source

FromName(String)

Declaration
public static Color FromName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
Color
| Improve this Doc View Source

GetBrightness()

Declaration
public float GetBrightness()
Returns
Type Description
System.Single
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetHue()

Declaration
public float GetHue()
Returns
Type Description
System.Single
| Improve this Doc View Source

GetSaturation()

Declaration
public float GetSaturation()
Returns
Type Description
System.Single
| Improve this Doc View Source

ToArgb()

Declaration
public int ToArgb()
Returns
Type Description
System.Int32
| Improve this Doc View Source

ToKnownColor()

Declaration
public KnownColor ToKnownColor()
Returns
Type Description
KnownColor
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

| Improve this Doc View Source

Equality(Color, Color)

Declaration
public static bool operator ==(Color left, Color right)
Parameters
Type Name Description
Color left
Color right
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Color, Color)

Declaration
public static bool operator !=(Color left, Color right)
Parameters
Type Name Description
Color left
Color right
Returns
Type Description
System.Boolean