Show / Hide Table of Contents

Class Color4

Companion type for conversion between color types.

Inheritance
object
Color4
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Mathematics
Assembly: OpenTK.Mathematics.dll
Syntax
public static class Color4

Properties

Aliceblue

Gets system color aliceblue corresponding to 240 248 255 255 (0.9411765, 0.972549, 1, 1).

Declaration
public static Color4<Rgba> Aliceblue { get; }
Property Value
Type Description
Color4<Rgba>

Antiquewhite

Gets system color antiquewhite corresponding to 250 235 215 255 (0.98039216, 0.92156863, 0.84313726, 1).

Declaration
public static Color4<Rgba> Antiquewhite { get; }
Property Value
Type Description
Color4<Rgba>

Aqua

Gets system color aqua corresponding to 0 255 255 255 (0, 1, 1, 1).

Declaration
public static Color4<Rgba> Aqua { get; }
Property Value
Type Description
Color4<Rgba>

Aquamarine

Gets system color aquamarine corresponding to 127 255 212 255 (0.49803922, 1, 0.83137256, 1).

Declaration
public static Color4<Rgba> Aquamarine { get; }
Property Value
Type Description
Color4<Rgba>

Azure

Gets system color azure corresponding to 240 255 255 255 (0.9411765, 1, 1, 1).

Declaration
public static Color4<Rgba> Azure { get; }
Property Value
Type Description
Color4<Rgba>

Beige

Gets system color beige corresponding to 245 245 220 255 (0.9607843, 0.9607843, 0.8627451, 1).

Declaration
public static Color4<Rgba> Beige { get; }
Property Value
Type Description
Color4<Rgba>

Bisque

Gets system color bisque corresponding to 255 228 196 255 (1, 0.89411765, 0.76862746, 1).

Declaration
public static Color4<Rgba> Bisque { get; }
Property Value
Type Description
Color4<Rgba>

Black

Gets system color black corresponding to 0 0 0 255 (0, 0, 0, 1).

Declaration
public static Color4<Rgba> Black { get; }
Property Value
Type Description
Color4<Rgba>

Blanchedalmond

Gets system color blanchedalmond corresponding to 255 235 205 255 (1, 0.92156863, 0.8039216, 1).

Declaration
public static Color4<Rgba> Blanchedalmond { get; }
Property Value
Type Description
Color4<Rgba>

Blue

Gets system color blue corresponding to 0 0 255 255 (0, 0, 1, 1).

Declaration
public static Color4<Rgba> Blue { get; }
Property Value
Type Description
Color4<Rgba>

Blueviolet

Gets system color blueviolet corresponding to 138 43 226 255 (0.5411765, 0.16862746, 0.8862745, 1).

Declaration
public static Color4<Rgba> Blueviolet { get; }
Property Value
Type Description
Color4<Rgba>

Brown

Gets system color brown corresponding to 165 42 42 255 (0.64705884, 0.16470589, 0.16470589, 1).

Declaration
public static Color4<Rgba> Brown { get; }
Property Value
Type Description
Color4<Rgba>

Burlywood

Gets system color burlywood corresponding to 222 184 135 255 (0.87058824, 0.72156864, 0.5294118, 1).

Declaration
public static Color4<Rgba> Burlywood { get; }
Property Value
Type Description
Color4<Rgba>

Cadetblue

Gets system color cadetblue corresponding to 95 158 160 255 (0.37254903, 0.61960787, 0.627451, 1).

Declaration
public static Color4<Rgba> Cadetblue { get; }
Property Value
Type Description
Color4<Rgba>

Chartreuse

Gets system color chartreuse corresponding to 127 255 0 255 (0.49803922, 1, 0, 1).

Declaration
public static Color4<Rgba> Chartreuse { get; }
Property Value
Type Description
Color4<Rgba>

Chocolate

Gets system color chocolate corresponding to 210 105 30 255 (0.8235294, 0.4117647, 0.11764706, 1).

Declaration
public static Color4<Rgba> Chocolate { get; }
Property Value
Type Description
Color4<Rgba>

Coral

Gets system color coral corresponding to 255 127 80 255 (1, 0.49803922, 0.3137255, 1).

Declaration
public static Color4<Rgba> Coral { get; }
Property Value
Type Description
Color4<Rgba>

Cornflowerblue

Gets system color cornflowerblue corresponding to 100 149 237 255 (0.39215687, 0.58431375, 0.92941177, 1).

Declaration
public static Color4<Rgba> Cornflowerblue { get; }
Property Value
Type Description
Color4<Rgba>

Cornsilk

Gets system color cornsilk corresponding to 255 248 220 255 (1, 0.972549, 0.8627451, 1).

Declaration
public static Color4<Rgba> Cornsilk { get; }
Property Value
Type Description
Color4<Rgba>

Crimson

Gets system color crimson corresponding to 220 20 60 255 (0.8627451, 0.078431375, 0.23529412, 1).

Declaration
public static Color4<Rgba> Crimson { get; }
Property Value
Type Description
Color4<Rgba>

Cyan

Gets system color cyan corresponding to 0 255 255 255 (0, 1, 1, 1).

Declaration
public static Color4<Rgba> Cyan { get; }
Property Value
Type Description
Color4<Rgba>

Darkblue

Gets system color darkblue corresponding to 0 0 139 255 (0, 0, 0.54509807, 1).

Declaration
public static Color4<Rgba> Darkblue { get; }
Property Value
Type Description
Color4<Rgba>

Darkcyan

Gets system color darkcyan corresponding to 0 139 139 255 (0, 0.54509807, 0.54509807, 1).

Declaration
public static Color4<Rgba> Darkcyan { get; }
Property Value
Type Description
Color4<Rgba>

Darkgoldenrod

Gets system color darkgoldenrod corresponding to 184 134 11 255 (0.72156864, 0.5254902, 0.043137256, 1).

Declaration
public static Color4<Rgba> Darkgoldenrod { get; }
Property Value
Type Description
Color4<Rgba>

Darkgray

Gets system color darkgray corresponding to 169 169 169 255 (0.6627451, 0.6627451, 0.6627451, 1).

Declaration
public static Color4<Rgba> Darkgray { get; }
Property Value
Type Description
Color4<Rgba>

Darkgreen

Gets system color darkgreen corresponding to 0 100 0 255 (0, 0.39215687, 0, 1).

Declaration
public static Color4<Rgba> Darkgreen { get; }
Property Value
Type Description
Color4<Rgba>

Darkkhaki

Gets system color darkkhaki corresponding to 189 183 107 255 (0.7411765, 0.7176471, 0.41960785, 1).

Declaration
public static Color4<Rgba> Darkkhaki { get; }
Property Value
Type Description
Color4<Rgba>

Darkmagenta

Gets system color darkmagenta corresponding to 139 0 139 255 (0.54509807, 0, 0.54509807, 1).

Declaration
public static Color4<Rgba> Darkmagenta { get; }
Property Value
Type Description
Color4<Rgba>

Darkolivegreen

Gets system color darkolivegreen corresponding to 85 107 47 255 (0.33333334, 0.41960785, 0.18431373, 1).

Declaration
public static Color4<Rgba> Darkolivegreen { get; }
Property Value
Type Description
Color4<Rgba>

Darkorange

Gets system color darkorange corresponding to 255 140 0 255 (1, 0.54901963, 0, 1).

Declaration
public static Color4<Rgba> Darkorange { get; }
Property Value
Type Description
Color4<Rgba>

Darkorchid

Gets system color darkorchid corresponding to 153 50 204 255 (0.6, 0.19607843, 0.8, 1).

Declaration
public static Color4<Rgba> Darkorchid { get; }
Property Value
Type Description
Color4<Rgba>

Darkred

Gets system color darkred corresponding to 139 0 0 255 (0.54509807, 0, 0, 1).

Declaration
public static Color4<Rgba> Darkred { get; }
Property Value
Type Description
Color4<Rgba>

Darksalmon

Gets system color darksalmon corresponding to 233 150 122 255 (0.9137255, 0.5882353, 0.47843137, 1).

Declaration
public static Color4<Rgba> Darksalmon { get; }
Property Value
Type Description
Color4<Rgba>

Darkseagreen

Gets system color darkseagreen corresponding to 143 188 139 255 (0.56078434, 0.7372549, 0.54509807, 1).

Declaration
public static Color4<Rgba> Darkseagreen { get; }
Property Value
Type Description
Color4<Rgba>

Darkslateblue

Gets system color darkslateblue corresponding to 72 61 139 255 (0.28235295, 0.23921569, 0.54509807, 1).

Declaration
public static Color4<Rgba> Darkslateblue { get; }
Property Value
Type Description
Color4<Rgba>

Darkslategray

Gets system color darkslategray corresponding to 47 79 79 255 (0.18431373, 0.30980393, 0.30980393, 1).

Declaration
public static Color4<Rgba> Darkslategray { get; }
Property Value
Type Description
Color4<Rgba>

Darkturquoise

Gets system color darkturquoise corresponding to 0 206 209 255 (0, 0.80784315, 0.81960785, 1).

Declaration
public static Color4<Rgba> Darkturquoise { get; }
Property Value
Type Description
Color4<Rgba>

Darkviolet

Gets system color darkviolet corresponding to 148 0 211 255 (0.5803922, 0, 0.827451, 1).

Declaration
public static Color4<Rgba> Darkviolet { get; }
Property Value
Type Description
Color4<Rgba>

Deeppink

Gets system color deeppink corresponding to 255 20 147 255 (1, 0.078431375, 0.5764706, 1).

Declaration
public static Color4<Rgba> Deeppink { get; }
Property Value
Type Description
Color4<Rgba>

Deepskyblue

Gets system color deepskyblue corresponding to 0 191 255 255 (0, 0.7490196, 1, 1).

Declaration
public static Color4<Rgba> Deepskyblue { get; }
Property Value
Type Description
Color4<Rgba>

Dimgray

Gets system color dimgray corresponding to 105 105 105 255 (0.4117647, 0.4117647, 0.4117647, 1).

Declaration
public static Color4<Rgba> Dimgray { get; }
Property Value
Type Description
Color4<Rgba>

Dodgerblue

Gets system color dodgerblue corresponding to 30 144 255 255 (0.11764706, 0.5647059, 1, 1).

Declaration
public static Color4<Rgba> Dodgerblue { get; }
Property Value
Type Description
Color4<Rgba>

Firebrick

Gets system color firebrick corresponding to 178 34 34 255 (0.69803923, 0.13333334, 0.13333334, 1).

Declaration
public static Color4<Rgba> Firebrick { get; }
Property Value
Type Description
Color4<Rgba>

Floralwhite

Gets system color floralwhite corresponding to 255 250 240 255 (1, 0.98039216, 0.9411765, 1).

Declaration
public static Color4<Rgba> Floralwhite { get; }
Property Value
Type Description
Color4<Rgba>

Forestgreen

Gets system color forestgreen corresponding to 34 139 34 255 (0.13333334, 0.54509807, 0.13333334, 1).

Declaration
public static Color4<Rgba> Forestgreen { get; }
Property Value
Type Description
Color4<Rgba>

Fuchsia

Gets system color fuchsia corresponding to 255 0 255 255 (1, 0, 1, 1).

Declaration
public static Color4<Rgba> Fuchsia { get; }
Property Value
Type Description
Color4<Rgba>

Gainsboro

Gets system color gainsboro corresponding to 220 220 220 255 (0.8627451, 0.8627451, 0.8627451, 1).

Declaration
public static Color4<Rgba> Gainsboro { get; }
Property Value
Type Description
Color4<Rgba>

Ghostwhite

Gets system color ghostwhite corresponding to 248 248 255 255 (0.972549, 0.972549, 1, 1).

Declaration
public static Color4<Rgba> Ghostwhite { get; }
Property Value
Type Description
Color4<Rgba>

Gold

Gets system color gold corresponding to 255 215 0 255 (1, 0.84313726, 0, 1).

Declaration
public static Color4<Rgba> Gold { get; }
Property Value
Type Description
Color4<Rgba>

Goldenrod

Gets system color goldenrod corresponding to 218 165 32 255 (0.85490197, 0.64705884, 0.1254902, 1).

Declaration
public static Color4<Rgba> Goldenrod { get; }
Property Value
Type Description
Color4<Rgba>

Gray

Gets system color gray corresponding to 128 128 128 255 (0.5019608, 0.5019608, 0.5019608, 1).

Declaration
public static Color4<Rgba> Gray { get; }
Property Value
Type Description
Color4<Rgba>

Green

Gets system color green corresponding to 0 128 0 255 (0, 0.5019608, 0, 1).

Declaration
public static Color4<Rgba> Green { get; }
Property Value
Type Description
Color4<Rgba>

Greenyellow

Gets system color greenyellow corresponding to 173 255 47 255 (0.6784314, 1, 0.18431373, 1).

Declaration
public static Color4<Rgba> Greenyellow { get; }
Property Value
Type Description
Color4<Rgba>

Honeydew

Gets system color honeydew corresponding to 240 255 240 255 (0.9411765, 1, 0.9411765, 1).

Declaration
public static Color4<Rgba> Honeydew { get; }
Property Value
Type Description
Color4<Rgba>

Hotpink

Gets system color hotpink corresponding to 255 105 180 255 (1, 0.4117647, 0.7058824, 1).

Declaration
public static Color4<Rgba> Hotpink { get; }
Property Value
Type Description
Color4<Rgba>

Indianred

Gets system color indianred corresponding to 205 92 92 255 (0.8039216, 0.36078432, 0.36078432, 1).

Declaration
public static Color4<Rgba> Indianred { get; }
Property Value
Type Description
Color4<Rgba>

Indigo

Gets system color indigo corresponding to 75 0 130 255 (0.29411766, 0, 0.50980395, 1).

Declaration
public static Color4<Rgba> Indigo { get; }
Property Value
Type Description
Color4<Rgba>

Ivory

Gets system color ivory corresponding to 255 255 240 255 (1, 1, 0.9411765, 1).

Declaration
public static Color4<Rgba> Ivory { get; }
Property Value
Type Description
Color4<Rgba>

Khaki

Gets system color khaki corresponding to 240 230 140 255 (0.9411765, 0.9019608, 0.54901963, 1).

Declaration
public static Color4<Rgba> Khaki { get; }
Property Value
Type Description
Color4<Rgba>

Lavender

Gets system color lavender corresponding to 230 230 250 255 (0.9019608, 0.9019608, 0.98039216, 1).

Declaration
public static Color4<Rgba> Lavender { get; }
Property Value
Type Description
Color4<Rgba>

Lavenderblush

Gets system color lavenderblush corresponding to 255 240 245 255 (1, 0.9411765, 0.9607843, 1).

Declaration
public static Color4<Rgba> Lavenderblush { get; }
Property Value
Type Description
Color4<Rgba>

Lawngreen

Gets system color lawngreen corresponding to 124 252 0 255 (0.4862745, 0.9882353, 0, 1).

Declaration
public static Color4<Rgba> Lawngreen { get; }
Property Value
Type Description
Color4<Rgba>

Lemonchiffon

Gets system color lemonchiffon corresponding to 255 250 205 255 (1, 0.98039216, 0.8039216, 1).

Declaration
public static Color4<Rgba> Lemonchiffon { get; }
Property Value
Type Description
Color4<Rgba>

Lightblue

Gets system color lightblue corresponding to 173 216 230 255 (0.6784314, 0.84705883, 0.9019608, 1).

Declaration
public static Color4<Rgba> Lightblue { get; }
Property Value
Type Description
Color4<Rgba>

Lightcoral

Gets system color lightcoral corresponding to 240 128 128 255 (0.9411765, 0.5019608, 0.5019608, 1).

Declaration
public static Color4<Rgba> Lightcoral { get; }
Property Value
Type Description
Color4<Rgba>

Lightcyan

Gets system color lightcyan corresponding to 224 255 255 255 (0.8784314, 1, 1, 1).

Declaration
public static Color4<Rgba> Lightcyan { get; }
Property Value
Type Description
Color4<Rgba>

Lightgoldenrodyellow

Gets system color lightgoldenrodyellow corresponding to 250 250 210 255 (0.98039216, 0.98039216, 0.8235294, 1).

Declaration
public static Color4<Rgba> Lightgoldenrodyellow { get; }
Property Value
Type Description
Color4<Rgba>

Lightgray

Gets system color lightgray corresponding to 211 211 211 255 (0.827451, 0.827451, 0.827451, 1).

Declaration
public static Color4<Rgba> Lightgray { get; }
Property Value
Type Description
Color4<Rgba>

Lightgreen

Gets system color lightgreen corresponding to 144 238 144 255 (0.5647059, 0.93333334, 0.5647059, 1).

Declaration
public static Color4<Rgba> Lightgreen { get; }
Property Value
Type Description
Color4<Rgba>

Lightpink

Gets system color lightpink corresponding to 255 182 193 255 (1, 0.7137255, 0.75686276, 1).

Declaration
public static Color4<Rgba> Lightpink { get; }
Property Value
Type Description
Color4<Rgba>

Lightsalmon

Gets system color lightsalmon corresponding to 255 160 122 255 (1, 0.627451, 0.47843137, 1).

Declaration
public static Color4<Rgba> Lightsalmon { get; }
Property Value
Type Description
Color4<Rgba>

Lightseagreen

Gets system color lightseagreen corresponding to 32 178 170 255 (0.1254902, 0.69803923, 0.6666667, 1).

Declaration
public static Color4<Rgba> Lightseagreen { get; }
Property Value
Type Description
Color4<Rgba>

Lightskyblue

Gets system color lightskyblue corresponding to 135 206 250 255 (0.5294118, 0.80784315, 0.98039216, 1).

Declaration
public static Color4<Rgba> Lightskyblue { get; }
Property Value
Type Description
Color4<Rgba>

Lightslategray

Gets system color lightslategray corresponding to 119 136 153 255 (0.46666667, 0.53333336, 0.6, 1).

Declaration
public static Color4<Rgba> Lightslategray { get; }
Property Value
Type Description
Color4<Rgba>

Lightsteelblue

Gets system color lightsteelblue corresponding to 176 196 222 255 (0.6901961, 0.76862746, 0.87058824, 1).

Declaration
public static Color4<Rgba> Lightsteelblue { get; }
Property Value
Type Description
Color4<Rgba>

Lightyellow

Gets system color lightyellow corresponding to 255 255 224 255 (1, 1, 0.8784314, 1).

Declaration
public static Color4<Rgba> Lightyellow { get; }
Property Value
Type Description
Color4<Rgba>

Lime

Gets system color lime corresponding to 0 255 0 255 (0, 1, 0, 1).

Declaration
public static Color4<Rgba> Lime { get; }
Property Value
Type Description
Color4<Rgba>

Limegreen

Gets system color limegreen corresponding to 50 205 50 255 (0.19607843, 0.8039216, 0.19607843, 1).

Declaration
public static Color4<Rgba> Limegreen { get; }
Property Value
Type Description
Color4<Rgba>

Linen

Gets system color linen corresponding to 250 240 230 255 (0.98039216, 0.9411765, 0.9019608, 1).

Declaration
public static Color4<Rgba> Linen { get; }
Property Value
Type Description
Color4<Rgba>

Magenta

Gets system color magenta corresponding to 255 0 255 255 (1, 0, 1, 1).

Declaration
public static Color4<Rgba> Magenta { get; }
Property Value
Type Description
Color4<Rgba>

Maroon

Gets system color maroon corresponding to 128 0 0 255 (0.5019608, 0, 0, 1).

Declaration
public static Color4<Rgba> Maroon { get; }
Property Value
Type Description
Color4<Rgba>

Mediumaquamarine

Gets system color mediumaquamarine corresponding to 102 205 170 255 (0.4, 0.8039216, 0.6666667, 1).

Declaration
public static Color4<Rgba> Mediumaquamarine { get; }
Property Value
Type Description
Color4<Rgba>

Mediumblue

Gets system color mediumblue corresponding to 0 0 205 255 (0, 0, 0.8039216, 1).

Declaration
public static Color4<Rgba> Mediumblue { get; }
Property Value
Type Description
Color4<Rgba>

Mediumorchid

Gets system color mediumorchid corresponding to 186 85 211 255 (0.7294118, 0.33333334, 0.827451, 1).

Declaration
public static Color4<Rgba> Mediumorchid { get; }
Property Value
Type Description
Color4<Rgba>

Mediumpurple

Gets system color mediumpurple corresponding to 147 112 219 255 (0.5764706, 0.4392157, 0.85882354, 1).

Declaration
public static Color4<Rgba> Mediumpurple { get; }
Property Value
Type Description
Color4<Rgba>

Mediumseagreen

Gets system color mediumseagreen corresponding to 60 179 113 255 (0.23529412, 0.7019608, 0.44313726, 1).

Declaration
public static Color4<Rgba> Mediumseagreen { get; }
Property Value
Type Description
Color4<Rgba>

Mediumslateblue

Gets system color mediumslateblue corresponding to 123 104 238 255 (0.48235294, 0.40784314, 0.93333334, 1).

Declaration
public static Color4<Rgba> Mediumslateblue { get; }
Property Value
Type Description
Color4<Rgba>

Mediumspringgreen

Gets system color mediumspringgreen corresponding to 0 250 154 255 (0, 0.98039216, 0.6039216, 1).

Declaration
public static Color4<Rgba> Mediumspringgreen { get; }
Property Value
Type Description
Color4<Rgba>

Mediumturquoise

Gets system color mediumturquoise corresponding to 72 209 204 255 (0.28235295, 0.81960785, 0.8, 1).

Declaration
public static Color4<Rgba> Mediumturquoise { get; }
Property Value
Type Description
Color4<Rgba>

Mediumvioletred

Gets system color mediumvioletred corresponding to 199 21 133 255 (0.78039217, 0.08235294, 0.52156866, 1).

Declaration
public static Color4<Rgba> Mediumvioletred { get; }
Property Value
Type Description
Color4<Rgba>

Midnightblue

Gets system color midnightblue corresponding to 25 25 112 255 (0.09803922, 0.09803922, 0.4392157, 1).

Declaration
public static Color4<Rgba> Midnightblue { get; }
Property Value
Type Description
Color4<Rgba>

Mintcream

Gets system color mintcream corresponding to 245 255 250 255 (0.9607843, 1, 0.98039216, 1).

Declaration
public static Color4<Rgba> Mintcream { get; }
Property Value
Type Description
Color4<Rgba>

Mistyrose

Gets system color mistyrose corresponding to 255 228 225 255 (1, 0.89411765, 0.88235295, 1).

Declaration
public static Color4<Rgba> Mistyrose { get; }
Property Value
Type Description
Color4<Rgba>

Moccasin

Gets system color moccasin corresponding to 255 228 181 255 (1, 0.89411765, 0.70980394, 1).

Declaration
public static Color4<Rgba> Moccasin { get; }
Property Value
Type Description
Color4<Rgba>

Navajowhite

Gets system color navajowhite corresponding to 255 222 173 255 (1, 0.87058824, 0.6784314, 1).

Declaration
public static Color4<Rgba> Navajowhite { get; }
Property Value
Type Description
Color4<Rgba>

Navy

Gets system color navy corresponding to 0 0 128 255 (0, 0, 0.5019608, 1).

Declaration
public static Color4<Rgba> Navy { get; }
Property Value
Type Description
Color4<Rgba>

Oldlace

Gets system color oldlace corresponding to 253 245 230 255 (0.99215686, 0.9607843, 0.9019608, 1).

Declaration
public static Color4<Rgba> Oldlace { get; }
Property Value
Type Description
Color4<Rgba>

Olive

Gets system color olive corresponding to 128 128 0 255 (0.5019608, 0.5019608, 0, 1).

Declaration
public static Color4<Rgba> Olive { get; }
Property Value
Type Description
Color4<Rgba>

Olivedrab

Gets system color olivedrab corresponding to 107 142 35 255 (0.41960785, 0.5568628, 0.13725491, 1).

Declaration
public static Color4<Rgba> Olivedrab { get; }
Property Value
Type Description
Color4<Rgba>

Orange

Gets system color orange corresponding to 255 165 0 255 (1, 0.64705884, 0, 1).

Declaration
public static Color4<Rgba> Orange { get; }
Property Value
Type Description
Color4<Rgba>

Orangered

Gets system color orangered corresponding to 255 69 0 255 (1, 0.27058825, 0, 1).

Declaration
public static Color4<Rgba> Orangered { get; }
Property Value
Type Description
Color4<Rgba>

Orchid

Gets system color orchid corresponding to 218 112 214 255 (0.85490197, 0.4392157, 0.8392157, 1).

Declaration
public static Color4<Rgba> Orchid { get; }
Property Value
Type Description
Color4<Rgba>

Palegoldenrod

Gets system color palegoldenrod corresponding to 238 232 170 255 (0.93333334, 0.9098039, 0.6666667, 1).

Declaration
public static Color4<Rgba> Palegoldenrod { get; }
Property Value
Type Description
Color4<Rgba>

Palegreen

Gets system color palegreen corresponding to 152 251 152 255 (0.59607846, 0.9843137, 0.59607846, 1).

Declaration
public static Color4<Rgba> Palegreen { get; }
Property Value
Type Description
Color4<Rgba>

Paleturquoise

Gets system color paleturquoise corresponding to 175 238 238 255 (0.6862745, 0.93333334, 0.93333334, 1).

Declaration
public static Color4<Rgba> Paleturquoise { get; }
Property Value
Type Description
Color4<Rgba>

Palevioletred

Gets system color palevioletred corresponding to 219 112 147 255 (0.85882354, 0.4392157, 0.5764706, 1).

Declaration
public static Color4<Rgba> Palevioletred { get; }
Property Value
Type Description
Color4<Rgba>

Papayawhip

Gets system color papayawhip corresponding to 255 239 213 255 (1, 0.9372549, 0.8352941, 1).

Declaration
public static Color4<Rgba> Papayawhip { get; }
Property Value
Type Description
Color4<Rgba>

Peachpuff

Gets system color peachpuff corresponding to 255 218 185 255 (1, 0.85490197, 0.7254902, 1).

Declaration
public static Color4<Rgba> Peachpuff { get; }
Property Value
Type Description
Color4<Rgba>

Peru

Gets system color peru corresponding to 205 133 63 255 (0.8039216, 0.52156866, 0.24705882, 1).

Declaration
public static Color4<Rgba> Peru { get; }
Property Value
Type Description
Color4<Rgba>

Pink

Gets system color pink corresponding to 255 192 203 255 (1, 0.7529412, 0.79607844, 1).

Declaration
public static Color4<Rgba> Pink { get; }
Property Value
Type Description
Color4<Rgba>

Plum

Gets system color plum corresponding to 221 160 221 255 (0.8666667, 0.627451, 0.8666667, 1).

Declaration
public static Color4<Rgba> Plum { get; }
Property Value
Type Description
Color4<Rgba>

Powderblue

Gets system color powderblue corresponding to 176 224 230 255 (0.6901961, 0.8784314, 0.9019608, 1).

Declaration
public static Color4<Rgba> Powderblue { get; }
Property Value
Type Description
Color4<Rgba>

Purple

Gets system color purple corresponding to 128 0 128 255 (0.5019608, 0, 0.5019608, 1).

Declaration
public static Color4<Rgba> Purple { get; }
Property Value
Type Description
Color4<Rgba>

Red

Gets system color red corresponding to 255 0 0 255 (1, 0, 0, 1).

Declaration
public static Color4<Rgba> Red { get; }
Property Value
Type Description
Color4<Rgba>

Rosybrown

Gets system color rosybrown corresponding to 188 143 143 255 (0.7372549, 0.56078434, 0.56078434, 1).

Declaration
public static Color4<Rgba> Rosybrown { get; }
Property Value
Type Description
Color4<Rgba>

Royalblue

Gets system color royalblue corresponding to 65 105 225 255 (0.25490198, 0.4117647, 0.88235295, 1).

Declaration
public static Color4<Rgba> Royalblue { get; }
Property Value
Type Description
Color4<Rgba>

Saddlebrown

Gets system color saddlebrown corresponding to 139 69 19 255 (0.54509807, 0.27058825, 0.07450981, 1).

Declaration
public static Color4<Rgba> Saddlebrown { get; }
Property Value
Type Description
Color4<Rgba>

Salmon

Gets system color salmon corresponding to 250 128 114 255 (0.98039216, 0.5019608, 0.44705883, 1).

Declaration
public static Color4<Rgba> Salmon { get; }
Property Value
Type Description
Color4<Rgba>

Sandybrown

Gets system color sandybrown corresponding to 244 164 96 255 (0.95686275, 0.6431373, 0.3764706, 1).

Declaration
public static Color4<Rgba> Sandybrown { get; }
Property Value
Type Description
Color4<Rgba>

Seagreen

Gets system color seagreen corresponding to 46 139 87 255 (0.18039216, 0.54509807, 0.34117648, 1).

Declaration
public static Color4<Rgba> Seagreen { get; }
Property Value
Type Description
Color4<Rgba>

Seashell

Gets system color seashell corresponding to 255 245 238 255 (1, 0.9607843, 0.93333334, 1).

Declaration
public static Color4<Rgba> Seashell { get; }
Property Value
Type Description
Color4<Rgba>

Sienna

Gets system color sienna corresponding to 160 82 45 255 (0.627451, 0.32156864, 0.1764706, 1).

Declaration
public static Color4<Rgba> Sienna { get; }
Property Value
Type Description
Color4<Rgba>

Silver

Gets system color silver corresponding to 192 192 192 255 (0.7529412, 0.7529412, 0.7529412, 1).

Declaration
public static Color4<Rgba> Silver { get; }
Property Value
Type Description
Color4<Rgba>

Skyblue

Gets system color skyblue corresponding to 135 206 235 255 (0.5294118, 0.80784315, 0.92156863, 1).

Declaration
public static Color4<Rgba> Skyblue { get; }
Property Value
Type Description
Color4<Rgba>

Slateblue

Gets system color slateblue corresponding to 106 90 205 255 (0.41568628, 0.3529412, 0.8039216, 1).

Declaration
public static Color4<Rgba> Slateblue { get; }
Property Value
Type Description
Color4<Rgba>

Slategray

Gets system color slategray corresponding to 112 128 144 255 (0.4392157, 0.5019608, 0.5647059, 1).

Declaration
public static Color4<Rgba> Slategray { get; }
Property Value
Type Description
Color4<Rgba>

Snow

Gets system color snow corresponding to 255 250 250 255 (1, 0.98039216, 0.98039216, 1).

Declaration
public static Color4<Rgba> Snow { get; }
Property Value
Type Description
Color4<Rgba>

Springgreen

Gets system color springgreen corresponding to 0 255 127 255 (0, 1, 0.49803922, 1).

Declaration
public static Color4<Rgba> Springgreen { get; }
Property Value
Type Description
Color4<Rgba>

Steelblue

Gets system color steelblue corresponding to 70 130 180 255 (0.27450982, 0.50980395, 0.7058824, 1).

Declaration
public static Color4<Rgba> Steelblue { get; }
Property Value
Type Description
Color4<Rgba>

Tan

Gets system color tan corresponding to 210 180 140 255 (0.8235294, 0.7058824, 0.54901963, 1).

Declaration
public static Color4<Rgba> Tan { get; }
Property Value
Type Description
Color4<Rgba>

Teal

Gets system color teal corresponding to 0 128 128 255 (0, 0.5019608, 0.5019608, 1).

Declaration
public static Color4<Rgba> Teal { get; }
Property Value
Type Description
Color4<Rgba>

Thistle

Gets system color thistle corresponding to 216 191 216 255 (0.84705883, 0.7490196, 0.84705883, 1).

Declaration
public static Color4<Rgba> Thistle { get; }
Property Value
Type Description
Color4<Rgba>

Tomato

Gets system color tomato corresponding to 255 99 71 255 (1, 0.3882353, 0.2784314, 1).

Declaration
public static Color4<Rgba> Tomato { get; }
Property Value
Type Description
Color4<Rgba>

Turquoise

Gets system color turquoise corresponding to 64 224 208 255 (0.2509804, 0.8784314, 0.8156863, 1).

Declaration
public static Color4<Rgba> Turquoise { get; }
Property Value
Type Description
Color4<Rgba>

Violet

Gets system color violet corresponding to 238 130 238 255 (0.93333334, 0.50980395, 0.93333334, 1).

Declaration
public static Color4<Rgba> Violet { get; }
Property Value
Type Description
Color4<Rgba>

Wheat

Gets system color wheat corresponding to 245 222 179 255 (0.9607843, 0.87058824, 0.7019608, 1).

Declaration
public static Color4<Rgba> Wheat { get; }
Property Value
Type Description
Color4<Rgba>

White

Gets system color white corresponding to 255 255 255 255 (1, 1, 1, 1).

Declaration
public static Color4<Rgba> White { get; }
Property Value
Type Description
Color4<Rgba>

Whitesmoke

Gets system color whitesmoke corresponding to 245 245 245 255 (0.9607843, 0.9607843, 0.9607843, 1).

Declaration
public static Color4<Rgba> Whitesmoke { get; }
Property Value
Type Description
Color4<Rgba>

Yellow

Gets system color yellow corresponding to 255 255 0 255 (1, 1, 0, 1).

Declaration
public static Color4<Rgba> Yellow { get; }
Property Value
Type Description
Color4<Rgba>

Yellowgreen

Gets system color yellowgreen corresponding to 154 205 50 255 (0.6039216, 0.8039216, 0.19607843, 1).

Declaration
public static Color4<Rgba> Yellowgreen { get; }
Property Value
Type Description
Color4<Rgba>

Methods

Add(in Color4<Rgba>, in Color4<Rgba>)

Adds all the elements of left to all the elements of right.

Declaration
public static Color4<Rgba> Add(this in Color4<Rgba> left, in Color4<Rgba> right)
Parameters
Type Name Description
Color4<Rgba> left

The left hand operand.

Color4<Rgba> right

The right hand operand.

Returns
Type Description
Color4<Rgba>

The element generated by adding the two colors together.

Divide(in Color4<Rgba>, in float)

Divides all the elements of left with right.

Declaration
public static Color4<Rgba> Divide(this in Color4<Rgba> left, in float right)
Parameters
Type Name Description
Color4<Rgba> left

The left hand operand.

float right

The right hand operand.

Returns
Type Description
Color4<Rgba>

The element generated by dividing all elements of left with right.

Multiply(in Color4<Rgba>, in Color4<Rgba>)

Multiplies all the elements of left with all the elements of right.

Declaration
public static Color4<Rgba> Multiply(this in Color4<Rgba> left, in Color4<Rgba> right)
Parameters
Type Name Description
Color4<Rgba> left

The left hand operand.

Color4<Rgba> right

The right hand operand.

Returns
Type Description
Color4<Rgba>

The element generated by multiplying the two colors together.

Multiply(in Color4<Rgba>, in float)

Multiplies all the elements of left with right.

Declaration
public static Color4<Rgba> Multiply(this in Color4<Rgba> left, in float right)
Parameters
Type Name Description
Color4<Rgba> left

The left hand operand.

float right

The right hand operand.

Returns
Type Description
Color4<Rgba>

The element generated by multiplying all elements of left with right.

Subtract(in Color4<Rgba>, in Color4<Rgba>)

Subtracts all the elements of right from all the elements of left.

Declaration
public static Color4<Rgba> Subtract(this in Color4<Rgba> left, in Color4<Rgba> right)
Parameters
Type Name Description
Color4<Rgba> left

The left hand operand.

Color4<Rgba> right

The right hand operand.

Returns
Type Description
Color4<Rgba>

The element generated by subtracting all elements of right with all elements from left.

ToArgb(in Color4<Rgba>)

Converts a color into Argb color space.

Declaration
[Pure]
public static Color4<Argb> ToArgb(this in Color4<Rgba> color)
Parameters
Type Name Description
Color4<Rgba> color

The color to convert.

Returns
Type Description
Color4<Argb>

The converted color.

ToHsl(in Color4<Hsla>)

Converts a color into Hsl color space.

Declaration
[Pure]
public static Color3<Hsl> ToHsl(this in Color4<Hsla> color)
Parameters
Type Name Description
Color4<Hsla> color

The color to convert.

Returns
Type Description
Color3<Hsl>

The converted color.

ToHsla(in Color4<Hsva>)

Converts a color into Hsla color space.

Declaration
[Pure]
public static Color4<Hsla> ToHsla(this in Color4<Hsva> color)
Parameters
Type Name Description
Color4<Hsva> color

The color to convert.

Returns
Type Description
Color4<Hsla>

The converted color.

ToHsla(in Color4<Rgba>)

Converts a color into Hsla color space.

Declaration
[Pure]
public static Color4<Hsla> ToHsla(this in Color4<Rgba> color)
Parameters
Type Name Description
Color4<Rgba> color

The color to convert.

Returns
Type Description
Color4<Hsla>

The converted color.

ToHsv(in Color4<Hsva>)

Converts a color into Hsv color space.

Declaration
[Pure]
public static Color3<Hsv> ToHsv(this in Color4<Hsva> color)
Parameters
Type Name Description
Color4<Hsva> color

The color to convert.

Returns
Type Description
Color3<Hsv>

The converted color.

ToHsva(in Color4<Hsla>)

Converts a color into Hsva color space.

Declaration
[Pure]
public static Color4<Hsva> ToHsva(this in Color4<Hsla> color)
Parameters
Type Name Description
Color4<Hsla> color

The color to convert.

Returns
Type Description
Color4<Hsva>

The converted color.

ToHsva(in Color4<Rgba>)

Converts a color into Hsva color space.

Declaration
[Pure]
public static Color4<Hsva> ToHsva(this in Color4<Rgba> color)
Parameters
Type Name Description
Color4<Rgba> color

The color to convert.

Returns
Type Description
Color4<Hsva>

The converted color.

ToRgb(in Color4<Argb>)

Converts a color into Rgb color space.

Declaration
[Pure]
public static Color3<Rgb> ToRgb(this in Color4<Argb> color)
Parameters
Type Name Description
Color4<Argb> color

The color to convert.

Returns
Type Description
Color3<Rgb>

The converted color.

ToRgb(in Color4<Rgba>)

Converts a color into Rgb color space.

Declaration
[Pure]
public static Color3<Rgb> ToRgb(this in Color4<Rgba> color)
Parameters
Type Name Description
Color4<Rgba> color

The color to convert.

Returns
Type Description
Color3<Rgb>

The converted color.

ToRgba(in Color4<Argb>)

Converts a color into Rgba color space.

Declaration
[Pure]
public static Color4<Rgba> ToRgba(this in Color4<Argb> color)
Parameters
Type Name Description
Color4<Argb> color

The color to convert.

Returns
Type Description
Color4<Rgba>

The converted color.

ToRgba(in Color4<Hsla>)

Converts a color into Rgba color space.

Declaration
[Pure]
public static Color4<Rgba> ToRgba(this in Color4<Hsla> color)
Parameters
Type Name Description
Color4<Hsla> color

The color to convert.

Returns
Type Description
Color4<Rgba>

The converted color.

ToRgba(in Color4<Hsva>)

Converts a color into Rgba color space.

Declaration
[Pure]
public static Color4<Rgba> ToRgba(this in Color4<Hsva> color)
Parameters
Type Name Description
Color4<Hsva> color

The color to convert.

Returns
Type Description
Color4<Rgba>

The converted color.

In this article
Back to top Generated by DocFX