• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Inferno
    • CollisionMode
    • DrawMode
    • Game
    • Game.OnResizeEventArgs
    • GameState
    • GameState.StateOnDrawEventArgs
    • GameWindow
    • Instance
    • MathHelper
    • Matrix
    • Point
    • Rectangle
    • Settings
    • SpatialMode
    • UpdateMode
    • Vector2
    • Vector3
    • Vector4
  • Inferno.Audio
    • AudioDevice
    • Sound
  • Inferno.Content
    • ContentLoader
  • Inferno.Formats.Audio
    • WaveFormat
  • Inferno.Formats.Graphics.Text
    • FontFormat
  • Inferno.Graphics
    • Camera
    • Color
    • GraphicsDevice
    • PlatformType
    • Renderable
    • RenderableType
    • Renderer
    • RenderSortMode
    • RenderTarget
    • Shader
    • ShaderLanguage
    • ShaderType
    • Sprite
    • Texture2D
    • Tileset
  • Inferno.Graphics.Text
    • Font
    • FontBuilder
  • Inferno.Input
    • ButtonState
    • Key
    • Keyboard
    • Keyboard.KeyEventArgs
    • KeyboardState
    • KeyState
    • Mouse
    • MouseState
  • Inferno.Tiled
    • RenderOrder
    • TiledLayer
    • TiledLayerChunk
    • TiledLoader
    • TiledMap
    • TiledMapOrientation
    • TiledObject
    • TiledObjectLayer
    • TiledVersion
  • Inferno.UI
    • MessageBox
    • MessageBoxType
    • UserInterface
  • Inferno.UI.Controls
    • Button
    • Control
    • Control.ControlClickedEvent
    • Control.ControlHoveredEvent
    • Control.TextChangedEventArgs
    • ControlState
    • Cursor
    • Label

Struct Color

A 32-bit packed color.

Implements
System.IEquatable<Color>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Inferno.Graphics
Assembly: Inferno.Desktop.dll
Syntax
public struct Color : IEquatable<Color>

Constructors

| Improve this Doc View Source

Color(Color, Int32)

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

Color(Color, Single)

Declaration
public Color(Color color, float alpha)
Parameters
Type Name Description
Color color
System.Single alpha
| Improve this Doc View Source

Color(Byte, Byte, Byte, Byte)

Declaration
public Color(byte r, byte g, byte b, byte alpha)
Parameters
Type Name Description
System.Byte r
System.Byte g
System.Byte b
System.Byte alpha
| Improve this Doc View Source

Color(Int32, Int32, Int32)

Declaration
public Color(int r, int g, int b)
Parameters
Type Name Description
System.Int32 r
System.Int32 g
System.Int32 b
| Improve this Doc View Source

Color(Int32, Int32, Int32, Int32)

Declaration
public Color(int r, int g, int b, int alpha)
Parameters
Type Name Description
System.Int32 r
System.Int32 g
System.Int32 b
System.Int32 alpha
| Improve this Doc View Source

Color(Single, Single, Single)

Declaration
public Color(float r, float g, float b)
Parameters
Type Name Description
System.Single r
System.Single g
System.Single b
| Improve this Doc View Source

Color(Single, Single, Single, Single)

Declaration
public Color(float r, float g, float b, float alpha)
Parameters
Type Name Description
System.Single r
System.Single g
System.Single b
System.Single alpha
| Improve this Doc View Source

Color(UInt32)

Declaration
public Color(uint packedValue)
Parameters
Type Name Description
System.UInt32 packedValue

Fields

| Improve this Doc View Source

PackedValue

Declaration
public uint PackedValue
Field Value
Type Description
System.UInt32

Properties

| Improve this Doc View Source

A

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

AliceBlue

AliceBlue color (R:240,G:248,B:255,A:255).

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

AntiqueWhite

AntiqueWhite color (R:250,G:235,B:215,A:255).

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

Aqua

Aqua color (R:0,G:255,B:255,A:255).

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

Aquamarine

Aquamarine color (R:127,G:255,B:212,A:255).

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

Azure

Azure color (R:240,G:255,B:255,A:255).

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

B

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

Beige

Beige color (R:245,G:245,B:220,A:255).

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

Bisque

Bisque color (R:255,G:228,B:196,A:255).

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

Black

Black color (R:0,G:0,B:0,A:255).

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

BlanchedAlmond

BlanchedAlmond color (R:255,G:235,B:205,A:255).

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

Blue

Blue color (R:0,G:0,B:255,A:255).

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

BlueViolet

BlueViolet color (R:138,G:43,B:226,A:255).

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

Brown

Brown color (R:165,G:42,B:42,A:255).

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

BurlyWood

BurlyWood color (R:222,G:184,B:135,A:255).

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

CadetBlue

CadetBlue color (R:95,G:158,B:160,A:255).

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

Chartreuse

Chartreuse color (R:127,G:255,B:0,A:255).

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

Chocolate

Chocolate color (R:210,G:105,B:30,A:255).

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

Coral

Coral color (R:255,G:127,B:80,A:255).

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

CornflowerBlue

CornflowerBlue color (R:100,G:149,B:237,A:255).

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

Cornsilk

Cornsilk color (R:255,G:248,B:220,A:255).

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

Crimson

Crimson color (R:220,G:20,B:60,A:255).

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

Cyan

Cyan color (R:0,G:255,B:255,A:255).

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

DarkBlue

DarkBlue color (R:0,G:0,B:139,A:255).

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

DarkCyan

DarkCyan color (R:0,G:139,B:139,A:255).

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

DarkGoldenrod

DarkGoldenrod color (R:184,G:134,B:11,A:255).

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

DarkGray

DarkGray color (R:169,G:169,B:169,A:255).

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

DarkGreen

DarkGreen color (R:0,G:100,B:0,A:255).

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

DarkKhaki

DarkKhaki color (R:189,G:183,B:107,A:255).

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

DarkMagenta

DarkMagenta color (R:139,G:0,B:139,A:255).

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

DarkOliveGreen

DarkOliveGreen color (R:85,G:107,B:47,A:255).

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

DarkOrange

DarkOrange color (R:255,G:140,B:0,A:255).

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

DarkOrchid

DarkOrchid color (R:153,G:50,B:204,A:255).

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

DarkRed

DarkRed color (R:139,G:0,B:0,A:255).

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

DarkSalmon

DarkSalmon color (R:233,G:150,B:122,A:255).

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

DarkSeaGreen

DarkSeaGreen color (R:143,G:188,B:139,A:255).

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

DarkSlateBlue

DarkSlateBlue color (R:72,G:61,B:139,A:255).

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

DarkSlateGray

DarkSlateGray color (R:47,G:79,B:79,A:255).

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

DarkTurquoise

DarkTurquoise color (R:0,G:206,B:209,A:255).

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

DarkViolet

DarkViolet color (R:148,G:0,B:211,A:255).

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

DeepPink

DeepPink color (R:255,G:20,B:147,A:255).

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

DeepSkyBlue

DeepSkyBlue color (R:0,G:191,B:255,A:255).

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

DimGray

DimGray color (R:105,G:105,B:105,A:255).

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

DodgerBlue

DodgerBlue color (R:30,G:144,B:255,A:255).

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

Firebrick

Firebrick color (R:178,G:34,B:34,A:255).

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

FloralWhite

FloralWhite color (R:255,G:250,B:240,A:255).

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

ForestGreen

ForestGreen color (R:34,G:139,B:34,A:255).

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

Fuchsia

Fuchsia color (R:255,G:0,B:255,A:255).

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

G

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

Gainsboro

Gainsboro color (R:220,G:220,B:220,A:255).

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

GhostWhite

GhostWhite color (R:248,G:248,B:255,A:255).

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

Gold

Gold color (R:255,G:215,B:0,A:255).

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

Goldenrod

Goldenrod color (R:218,G:165,B:32,A:255).

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

Gray

Gray color (R:128,G:128,B:128,A:255).

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

Green

Green color (R:0,G:128,B:0,A:255).

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

GreenYellow

GreenYellow color (R:173,G:255,B:47,A:255).

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

Honeydew

Honeydew color (R:240,G:255,B:240,A:255).

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

HotPink

HotPink color (R:255,G:105,B:180,A:255).

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

IndianRed

IndianRed color (R:205,G:92,B:92,A:255).

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

Indigo

Indigo color (R:75,G:0,B:130,A:255).

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

Ivory

Ivory color (R:255,G:255,B:240,A:255).

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

Khaki

Khaki color (R:240,G:230,B:140,A:255).

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

Lavender

Lavender color (R:230,G:230,B:250,A:255).

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

LavenderBlush

LavenderBlush color (R:255,G:240,B:245,A:255).

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

LawnGreen

LawnGreen color (R:124,G:252,B:0,A:255).

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

LemonChiffon

LemonChiffon color (R:255,G:250,B:205,A:255).

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

LightBlue

LightBlue color (R:173,G:216,B:230,A:255).

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

LightCoral

LightCoral color (R:240,G:128,B:128,A:255).

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

LightCyan

LightCyan color (R:224,G:255,B:255,A:255).

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

LightGoldenrodYellow

LightGoldenrodYellow color (R:250,G:250,B:210,A:255).

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

LightGray

LightGray color (R:211,G:211,B:211,A:255).

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

LightGreen

LightGreen color (R:144,G:238,B:144,A:255).

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

LightPink

LightPink color (R:255,G:182,B:193,A:255).

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

LightSalmon

LightSalmon color (R:255,G:160,B:122,A:255).

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

LightSeaGreen

LightSeaGreen color (R:32,G:178,B:170,A:255).

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

LightSkyBlue

LightSkyBlue color (R:135,G:206,B:250,A:255).

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

LightSlateGray

LightSlateGray color (R:119,G:136,B:153,A:255).

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

LightSteelBlue

LightSteelBlue color (R:176,G:196,B:222,A:255).

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

LightYellow

LightYellow color (R:255,G:255,B:224,A:255).

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

Lime

Lime color (R:0,G:255,B:0,A:255).

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

LimeGreen

LimeGreen color (R:50,G:205,B:50,A:255).

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

Linen

Linen color (R:250,G:240,B:230,A:255).

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

Magenta

Magenta color (R:255,G:0,B:255,A:255).

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

Maroon

Maroon color (R:128,G:0,B:0,A:255).

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

MediumAquamarine

MediumAquamarine color (R:102,G:205,B:170,A:255).

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

MediumBlue

MediumBlue color (R:0,G:0,B:205,A:255).

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

MediumOrchid

MediumOrchid color (R:186,G:85,B:211,A:255).

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

MediumPurple

MediumPurple color (R:147,G:112,B:219,A:255).

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

MediumSeaGreen

MediumSeaGreen color (R:60,G:179,B:113,A:255).

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

MediumSlateBlue

MediumSlateBlue color (R:123,G:104,B:238,A:255).

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

MediumSpringGreen

MediumSpringGreen color (R:0,G:250,B:154,A:255).

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

MediumTurquoise

MediumTurquoise color (R:72,G:209,B:204,A:255).

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

MediumVioletRed

MediumVioletRed color (R:199,G:21,B:133,A:255).

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

MidnightBlue

MidnightBlue color (R:25,G:25,B:112,A:255).

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

MintCream

MintCream color (R:245,G:255,B:250,A:255).

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

MistyRose

MistyRose color (R:255,G:228,B:225,A:255).

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

Moccasin

Moccasin color (R:255,G:228,B:181,A:255).

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

MonoGameOrange

MonoGame orange theme color (R:231,G:60,B:0,A:255).

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

NavajoWhite

NavajoWhite color (R:255,G:222,B:173,A:255).

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

Navy

Navy color (R:0,G:0,B:128,A:255).

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

OldLace

OldLace color (R:253,G:245,B:230,A:255).

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

Olive

Olive color (R:128,G:128,B:0,A:255).

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

OliveDrab

OliveDrab color (R:107,G:142,B:35,A:255).

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

Orange

Orange color (R:255,G:165,B:0,A:255).

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

OrangeRed

OrangeRed color (R:255,G:69,B:0,A:255).

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

Orchid

Orchid color (R:218,G:112,B:214,A:255).

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

PaleGoldenrod

PaleGoldenrod color (R:238,G:232,B:170,A:255).

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

PaleGreen

PaleGreen color (R:152,G:251,B:152,A:255).

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

PaleTurquoise

PaleTurquoise color (R:175,G:238,B:238,A:255).

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

PaleVioletRed

PaleVioletRed color (R:219,G:112,B:147,A:255).

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

PapayaWhip

PapayaWhip color (R:255,G:239,B:213,A:255).

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

PeachPuff

PeachPuff color (R:255,G:218,B:185,A:255).

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

Peru

Peru color (R:205,G:133,B:63,A:255).

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

Pink

Pink color (R:255,G:192,B:203,A:255).

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

Plum

Plum color (R:221,G:160,B:221,A:255).

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

PowderBlue

PowderBlue color (R:176,G:224,B:230,A:255).

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

Purple

Purple color (R:128,G:0,B:128,A:255).

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

R

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

Red

Red color (R:255,G:0,B:0,A:255).

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

RosyBrown

RosyBrown color (R:188,G:143,B:143,A:255).

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

RoyalBlue

RoyalBlue color (R:65,G:105,B:225,A:255).

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

SaddleBrown

SaddleBrown color (R:139,G:69,B:19,A:255).

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

Salmon

Salmon color (R:250,G:128,B:114,A:255).

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

SandyBrown

SandyBrown color (R:244,G:164,B:96,A:255).

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

SeaGreen

SeaGreen color (R:46,G:139,B:87,A:255).

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

SeaShell

SeaShell color (R:255,G:245,B:238,A:255).

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

Sienna

Sienna color (R:160,G:82,B:45,A:255).

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

Silver

Silver color (R:192,G:192,B:192,A:255).

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

SkyBlue

SkyBlue color (R:135,G:206,B:235,A:255).

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

SlateBlue

SlateBlue color (R:106,G:90,B:205,A:255).

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

SlateGray

SlateGray color (R:112,G:128,B:144,A:255).

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

Snow

Snow color (R:255,G:250,B:250,A:255).

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

SpringGreen

SpringGreen color (R:0,G:255,B:127,A:255).

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

SteelBlue

SteelBlue color (R:70,G:130,B:180,A:255).

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

Tan

Tan color (R:210,G:180,B:140,A:255).

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

Teal

Teal color (R:0,G:128,B:128,A:255).

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

Thistle

Thistle color (R:216,G:191,B:216,A:255).

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

Tomato

Tomato color (R:255,G:99,B:71,A:255).

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

Transparent

Transparent color (R:0,G:0,B:0,A:0).

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

TransparentBlack

TransparentBlack color (R:0,G:0,B:0,A:0).

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

Turquoise

Turquoise color (R:64,G:224,B:208,A:255).

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

Violet

Violet color (R:238,G:130,B:238,A:255).

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

Wheat

Wheat color (R:245,G:222,B:179,A:255).

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

White

White color (R:255,G:255,B:255,A:255).

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

WhiteSmoke

WhiteSmoke color (R:245,G:245,B:245,A:255).

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

Yellow

Yellow color (R:255,G:255,B:0,A:255).

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

YellowGreen

YellowGreen color (R:154,G:205,B:50,A:255).

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

Methods

| Improve this Doc View Source

Equals(Color)

Declaration
public bool Equals(Color other)
Parameters
Type Name Description
Color other
Returns
Type Description
System.Boolean
| 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
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

FromNonPremultiplied(Int32, Int32, Int32, Int32)

Declaration
public static Color FromNonPremultiplied(int r, int g, int b, int a)
Parameters
Type Name Description
System.Int32 r
System.Int32 g
System.Int32 b
System.Int32 a
Returns
Type Description
Color
| Improve this Doc View Source

GetHashCode()

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

Lerp(Color, Color, Int32)

Declaration
public static Color Lerp(Color value1, Color value2, int amount)
Parameters
Type Name Description
Color value1
Color value2
System.Int32 amount
Returns
Type Description
Color
| Improve this Doc View Source

ToString()

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

Operators

| Improve this Doc View Source

Equality(Color, Color)

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

Inequality(Color, Color)

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

Multiply(Color, Single)

Declaration
public static Color operator *(Color value, float scale)
Parameters
Type Name Description
Color value
System.Single scale
Returns
Type Description
Color

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX