Class Color3
Companion type for conversion between color types.
Inherited Members
Namespace: OpenTK.Mathematics
Assembly: OpenTK.Mathematics.dll
Syntax
public static class Color3
Properties
Aliceblue
Gets system color aliceblue corresponding to 240 248 255 (0.9411765, 0.972549, 1).
Declaration
public static Color3<Rgb> Aliceblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Antiquewhite
Gets system color antiquewhite corresponding to 250 235 215 (0.98039216, 0.92156863, 0.84313726).
Declaration
public static Color3<Rgb> Antiquewhite { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Aqua
Gets system color aqua corresponding to 0 255 255 (0, 1, 1).
Declaration
public static Color3<Rgb> Aqua { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Aquamarine
Gets system color aquamarine corresponding to 127 255 212 (0.49803922, 1, 0.83137256).
Declaration
public static Color3<Rgb> Aquamarine { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Azure
Gets system color azure corresponding to 240 255 255 (0.9411765, 1, 1).
Declaration
public static Color3<Rgb> Azure { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Beige
Gets system color beige corresponding to 245 245 220 (0.9607843, 0.9607843, 0.8627451).
Declaration
public static Color3<Rgb> Beige { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Bisque
Gets system color bisque corresponding to 255 228 196 (1, 0.89411765, 0.76862746).
Declaration
public static Color3<Rgb> Bisque { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Black
Gets system color black corresponding to 0 0 0 (0, 0, 0).
Declaration
public static Color3<Rgb> Black { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Blanchedalmond
Gets system color blanchedalmond corresponding to 255 235 205 (1, 0.92156863, 0.8039216).
Declaration
public static Color3<Rgb> Blanchedalmond { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Blue
Gets system color blue corresponding to 0 0 255 (0, 0, 1).
Declaration
public static Color3<Rgb> Blue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Blueviolet
Gets system color blueviolet corresponding to 138 43 226 (0.5411765, 0.16862746, 0.8862745).
Declaration
public static Color3<Rgb> Blueviolet { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Brown
Gets system color brown corresponding to 165 42 42 (0.64705884, 0.16470589, 0.16470589).
Declaration
public static Color3<Rgb> Brown { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Burlywood
Gets system color burlywood corresponding to 222 184 135 (0.87058824, 0.72156864, 0.5294118).
Declaration
public static Color3<Rgb> Burlywood { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Cadetblue
Gets system color cadetblue corresponding to 95 158 160 (0.37254903, 0.61960787, 0.627451).
Declaration
public static Color3<Rgb> Cadetblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Chartreuse
Gets system color chartreuse corresponding to 127 255 0 (0.49803922, 1, 0).
Declaration
public static Color3<Rgb> Chartreuse { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Chocolate
Gets system color chocolate corresponding to 210 105 30 (0.8235294, 0.4117647, 0.11764706).
Declaration
public static Color3<Rgb> Chocolate { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Coral
Gets system color coral corresponding to 255 127 80 (1, 0.49803922, 0.3137255).
Declaration
public static Color3<Rgb> Coral { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Cornflowerblue
Gets system color cornflowerblue corresponding to 100 149 237 (0.39215687, 0.58431375, 0.92941177).
Declaration
public static Color3<Rgb> Cornflowerblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Cornsilk
Gets system color cornsilk corresponding to 255 248 220 (1, 0.972549, 0.8627451).
Declaration
public static Color3<Rgb> Cornsilk { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Crimson
Gets system color crimson corresponding to 220 20 60 (0.8627451, 0.078431375, 0.23529412).
Declaration
public static Color3<Rgb> Crimson { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Cyan
Gets system color cyan corresponding to 0 255 255 (0, 1, 1).
Declaration
public static Color3<Rgb> Cyan { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkblue
Gets system color darkblue corresponding to 0 0 139 (0, 0, 0.54509807).
Declaration
public static Color3<Rgb> Darkblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkcyan
Gets system color darkcyan corresponding to 0 139 139 (0, 0.54509807, 0.54509807).
Declaration
public static Color3<Rgb> Darkcyan { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkgoldenrod
Gets system color darkgoldenrod corresponding to 184 134 11 (0.72156864, 0.5254902, 0.043137256).
Declaration
public static Color3<Rgb> Darkgoldenrod { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkgray
Gets system color darkgray corresponding to 169 169 169 (0.6627451, 0.6627451, 0.6627451).
Declaration
public static Color3<Rgb> Darkgray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkgreen
Gets system color darkgreen corresponding to 0 100 0 (0, 0.39215687, 0).
Declaration
public static Color3<Rgb> Darkgreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkkhaki
Gets system color darkkhaki corresponding to 189 183 107 (0.7411765, 0.7176471, 0.41960785).
Declaration
public static Color3<Rgb> Darkkhaki { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkmagenta
Gets system color darkmagenta corresponding to 139 0 139 (0.54509807, 0, 0.54509807).
Declaration
public static Color3<Rgb> Darkmagenta { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkolivegreen
Gets system color darkolivegreen corresponding to 85 107 47 (0.33333334, 0.41960785, 0.18431373).
Declaration
public static Color3<Rgb> Darkolivegreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkorange
Gets system color darkorange corresponding to 255 140 0 (1, 0.54901963, 0).
Declaration
public static Color3<Rgb> Darkorange { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkorchid
Gets system color darkorchid corresponding to 153 50 204 (0.6, 0.19607843, 0.8).
Declaration
public static Color3<Rgb> Darkorchid { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkred
Gets system color darkred corresponding to 139 0 0 (0.54509807, 0, 0).
Declaration
public static Color3<Rgb> Darkred { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darksalmon
Gets system color darksalmon corresponding to 233 150 122 (0.9137255, 0.5882353, 0.47843137).
Declaration
public static Color3<Rgb> Darksalmon { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkseagreen
Gets system color darkseagreen corresponding to 143 188 139 (0.56078434, 0.7372549, 0.54509807).
Declaration
public static Color3<Rgb> Darkseagreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkslateblue
Gets system color darkslateblue corresponding to 72 61 139 (0.28235295, 0.23921569, 0.54509807).
Declaration
public static Color3<Rgb> Darkslateblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkslategray
Gets system color darkslategray corresponding to 47 79 79 (0.18431373, 0.30980393, 0.30980393).
Declaration
public static Color3<Rgb> Darkslategray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkturquoise
Gets system color darkturquoise corresponding to 0 206 209 (0, 0.80784315, 0.81960785).
Declaration
public static Color3<Rgb> Darkturquoise { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Darkviolet
Gets system color darkviolet corresponding to 148 0 211 (0.5803922, 0, 0.827451).
Declaration
public static Color3<Rgb> Darkviolet { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Deeppink
Gets system color deeppink corresponding to 255 20 147 (1, 0.078431375, 0.5764706).
Declaration
public static Color3<Rgb> Deeppink { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Deepskyblue
Gets system color deepskyblue corresponding to 0 191 255 (0, 0.7490196, 1).
Declaration
public static Color3<Rgb> Deepskyblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Dimgray
Gets system color dimgray corresponding to 105 105 105 (0.4117647, 0.4117647, 0.4117647).
Declaration
public static Color3<Rgb> Dimgray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Dodgerblue
Gets system color dodgerblue corresponding to 30 144 255 (0.11764706, 0.5647059, 1).
Declaration
public static Color3<Rgb> Dodgerblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Firebrick
Gets system color firebrick corresponding to 178 34 34 (0.69803923, 0.13333334, 0.13333334).
Declaration
public static Color3<Rgb> Firebrick { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Floralwhite
Gets system color floralwhite corresponding to 255 250 240 (1, 0.98039216, 0.9411765).
Declaration
public static Color3<Rgb> Floralwhite { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Forestgreen
Gets system color forestgreen corresponding to 34 139 34 (0.13333334, 0.54509807, 0.13333334).
Declaration
public static Color3<Rgb> Forestgreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Fuchsia
Gets system color fuchsia corresponding to 255 0 255 (1, 0, 1).
Declaration
public static Color3<Rgb> Fuchsia { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Gainsboro
Gets system color gainsboro corresponding to 220 220 220 (0.8627451, 0.8627451, 0.8627451).
Declaration
public static Color3<Rgb> Gainsboro { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Ghostwhite
Gets system color ghostwhite corresponding to 248 248 255 (0.972549, 0.972549, 1).
Declaration
public static Color3<Rgb> Ghostwhite { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Gold
Gets system color gold corresponding to 255 215 0 (1, 0.84313726, 0).
Declaration
public static Color3<Rgb> Gold { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Goldenrod
Gets system color goldenrod corresponding to 218 165 32 (0.85490197, 0.64705884, 0.1254902).
Declaration
public static Color3<Rgb> Goldenrod { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Gray
Gets system color gray corresponding to 128 128 128 (0.5019608, 0.5019608, 0.5019608).
Declaration
public static Color3<Rgb> Gray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Green
Gets system color green corresponding to 0 128 0 (0, 0.5019608, 0).
Declaration
public static Color3<Rgb> Green { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Greenyellow
Gets system color greenyellow corresponding to 173 255 47 (0.6784314, 1, 0.18431373).
Declaration
public static Color3<Rgb> Greenyellow { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Honeydew
Gets system color honeydew corresponding to 240 255 240 (0.9411765, 1, 0.9411765).
Declaration
public static Color3<Rgb> Honeydew { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Hotpink
Gets system color hotpink corresponding to 255 105 180 (1, 0.4117647, 0.7058824).
Declaration
public static Color3<Rgb> Hotpink { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Indianred
Gets system color indianred corresponding to 205 92 92 (0.8039216, 0.36078432, 0.36078432).
Declaration
public static Color3<Rgb> Indianred { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Indigo
Gets system color indigo corresponding to 75 0 130 (0.29411766, 0, 0.50980395).
Declaration
public static Color3<Rgb> Indigo { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Ivory
Gets system color ivory corresponding to 255 255 240 (1, 1, 0.9411765).
Declaration
public static Color3<Rgb> Ivory { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Khaki
Gets system color khaki corresponding to 240 230 140 (0.9411765, 0.9019608, 0.54901963).
Declaration
public static Color3<Rgb> Khaki { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lavender
Gets system color lavender corresponding to 230 230 250 (0.9019608, 0.9019608, 0.98039216).
Declaration
public static Color3<Rgb> Lavender { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lavenderblush
Gets system color lavenderblush corresponding to 255 240 245 (1, 0.9411765, 0.9607843).
Declaration
public static Color3<Rgb> Lavenderblush { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lawngreen
Gets system color lawngreen corresponding to 124 252 0 (0.4862745, 0.9882353, 0).
Declaration
public static Color3<Rgb> Lawngreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lemonchiffon
Gets system color lemonchiffon corresponding to 255 250 205 (1, 0.98039216, 0.8039216).
Declaration
public static Color3<Rgb> Lemonchiffon { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightblue
Gets system color lightblue corresponding to 173 216 230 (0.6784314, 0.84705883, 0.9019608).
Declaration
public static Color3<Rgb> Lightblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightcoral
Gets system color lightcoral corresponding to 240 128 128 (0.9411765, 0.5019608, 0.5019608).
Declaration
public static Color3<Rgb> Lightcoral { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightcyan
Gets system color lightcyan corresponding to 224 255 255 (0.8784314, 1, 1).
Declaration
public static Color3<Rgb> Lightcyan { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightgoldenrodyellow
Gets system color lightgoldenrodyellow corresponding to 250 250 210 (0.98039216, 0.98039216, 0.8235294).
Declaration
public static Color3<Rgb> Lightgoldenrodyellow { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightgray
Gets system color lightgray corresponding to 211 211 211 (0.827451, 0.827451, 0.827451).
Declaration
public static Color3<Rgb> Lightgray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightgreen
Gets system color lightgreen corresponding to 144 238 144 (0.5647059, 0.93333334, 0.5647059).
Declaration
public static Color3<Rgb> Lightgreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightpink
Gets system color lightpink corresponding to 255 182 193 (1, 0.7137255, 0.75686276).
Declaration
public static Color3<Rgb> Lightpink { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightsalmon
Gets system color lightsalmon corresponding to 255 160 122 (1, 0.627451, 0.47843137).
Declaration
public static Color3<Rgb> Lightsalmon { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightseagreen
Gets system color lightseagreen corresponding to 32 178 170 (0.1254902, 0.69803923, 0.6666667).
Declaration
public static Color3<Rgb> Lightseagreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightskyblue
Gets system color lightskyblue corresponding to 135 206 250 (0.5294118, 0.80784315, 0.98039216).
Declaration
public static Color3<Rgb> Lightskyblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightslategray
Gets system color lightslategray corresponding to 119 136 153 (0.46666667, 0.53333336, 0.6).
Declaration
public static Color3<Rgb> Lightslategray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightsteelblue
Gets system color lightsteelblue corresponding to 176 196 222 (0.6901961, 0.76862746, 0.87058824).
Declaration
public static Color3<Rgb> Lightsteelblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lightyellow
Gets system color lightyellow corresponding to 255 255 224 (1, 1, 0.8784314).
Declaration
public static Color3<Rgb> Lightyellow { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Lime
Gets system color lime corresponding to 0 255 0 (0, 1, 0).
Declaration
public static Color3<Rgb> Lime { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Limegreen
Gets system color limegreen corresponding to 50 205 50 (0.19607843, 0.8039216, 0.19607843).
Declaration
public static Color3<Rgb> Limegreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Linen
Gets system color linen corresponding to 250 240 230 (0.98039216, 0.9411765, 0.9019608).
Declaration
public static Color3<Rgb> Linen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Magenta
Gets system color magenta corresponding to 255 0 255 (1, 0, 1).
Declaration
public static Color3<Rgb> Magenta { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Maroon
Gets system color maroon corresponding to 128 0 0 (0.5019608, 0, 0).
Declaration
public static Color3<Rgb> Maroon { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumaquamarine
Gets system color mediumaquamarine corresponding to 102 205 170 (0.4, 0.8039216, 0.6666667).
Declaration
public static Color3<Rgb> Mediumaquamarine { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumblue
Gets system color mediumblue corresponding to 0 0 205 (0, 0, 0.8039216).
Declaration
public static Color3<Rgb> Mediumblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumorchid
Gets system color mediumorchid corresponding to 186 85 211 (0.7294118, 0.33333334, 0.827451).
Declaration
public static Color3<Rgb> Mediumorchid { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumpurple
Gets system color mediumpurple corresponding to 147 112 219 (0.5764706, 0.4392157, 0.85882354).
Declaration
public static Color3<Rgb> Mediumpurple { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumseagreen
Gets system color mediumseagreen corresponding to 60 179 113 (0.23529412, 0.7019608, 0.44313726).
Declaration
public static Color3<Rgb> Mediumseagreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumslateblue
Gets system color mediumslateblue corresponding to 123 104 238 (0.48235294, 0.40784314, 0.93333334).
Declaration
public static Color3<Rgb> Mediumslateblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumspringgreen
Gets system color mediumspringgreen corresponding to 0 250 154 (0, 0.98039216, 0.6039216).
Declaration
public static Color3<Rgb> Mediumspringgreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumturquoise
Gets system color mediumturquoise corresponding to 72 209 204 (0.28235295, 0.81960785, 0.8).
Declaration
public static Color3<Rgb> Mediumturquoise { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mediumvioletred
Gets system color mediumvioletred corresponding to 199 21 133 (0.78039217, 0.08235294, 0.52156866).
Declaration
public static Color3<Rgb> Mediumvioletred { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Midnightblue
Gets system color midnightblue corresponding to 25 25 112 (0.09803922, 0.09803922, 0.4392157).
Declaration
public static Color3<Rgb> Midnightblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mintcream
Gets system color mintcream corresponding to 245 255 250 (0.9607843, 1, 0.98039216).
Declaration
public static Color3<Rgb> Mintcream { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Mistyrose
Gets system color mistyrose corresponding to 255 228 225 (1, 0.89411765, 0.88235295).
Declaration
public static Color3<Rgb> Mistyrose { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Moccasin
Gets system color moccasin corresponding to 255 228 181 (1, 0.89411765, 0.70980394).
Declaration
public static Color3<Rgb> Moccasin { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Navajowhite
Gets system color navajowhite corresponding to 255 222 173 (1, 0.87058824, 0.6784314).
Declaration
public static Color3<Rgb> Navajowhite { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Navy
Gets system color navy corresponding to 0 0 128 (0, 0, 0.5019608).
Declaration
public static Color3<Rgb> Navy { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Oldlace
Gets system color oldlace corresponding to 253 245 230 (0.99215686, 0.9607843, 0.9019608).
Declaration
public static Color3<Rgb> Oldlace { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Olive
Gets system color olive corresponding to 128 128 0 (0.5019608, 0.5019608, 0).
Declaration
public static Color3<Rgb> Olive { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Olivedrab
Gets system color olivedrab corresponding to 107 142 35 (0.41960785, 0.5568628, 0.13725491).
Declaration
public static Color3<Rgb> Olivedrab { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Orange
Gets system color orange corresponding to 255 165 0 (1, 0.64705884, 0).
Declaration
public static Color3<Rgb> Orange { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Orangered
Gets system color orangered corresponding to 255 69 0 (1, 0.27058825, 0).
Declaration
public static Color3<Rgb> Orangered { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Orchid
Gets system color orchid corresponding to 218 112 214 (0.85490197, 0.4392157, 0.8392157).
Declaration
public static Color3<Rgb> Orchid { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Palegoldenrod
Gets system color palegoldenrod corresponding to 238 232 170 (0.93333334, 0.9098039, 0.6666667).
Declaration
public static Color3<Rgb> Palegoldenrod { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Palegreen
Gets system color palegreen corresponding to 152 251 152 (0.59607846, 0.9843137, 0.59607846).
Declaration
public static Color3<Rgb> Palegreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Paleturquoise
Gets system color paleturquoise corresponding to 175 238 238 (0.6862745, 0.93333334, 0.93333334).
Declaration
public static Color3<Rgb> Paleturquoise { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Palevioletred
Gets system color palevioletred corresponding to 219 112 147 (0.85882354, 0.4392157, 0.5764706).
Declaration
public static Color3<Rgb> Palevioletred { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Papayawhip
Gets system color papayawhip corresponding to 255 239 213 (1, 0.9372549, 0.8352941).
Declaration
public static Color3<Rgb> Papayawhip { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Peachpuff
Gets system color peachpuff corresponding to 255 218 185 (1, 0.85490197, 0.7254902).
Declaration
public static Color3<Rgb> Peachpuff { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Peru
Gets system color peru corresponding to 205 133 63 (0.8039216, 0.52156866, 0.24705882).
Declaration
public static Color3<Rgb> Peru { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Pink
Gets system color pink corresponding to 255 192 203 (1, 0.7529412, 0.79607844).
Declaration
public static Color3<Rgb> Pink { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Plum
Gets system color plum corresponding to 221 160 221 (0.8666667, 0.627451, 0.8666667).
Declaration
public static Color3<Rgb> Plum { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Powderblue
Gets system color powderblue corresponding to 176 224 230 (0.6901961, 0.8784314, 0.9019608).
Declaration
public static Color3<Rgb> Powderblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Purple
Gets system color purple corresponding to 128 0 128 (0.5019608, 0, 0.5019608).
Declaration
public static Color3<Rgb> Purple { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Red
Gets system color red corresponding to 255 0 0 (1, 0, 0).
Declaration
public static Color3<Rgb> Red { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Rosybrown
Gets system color rosybrown corresponding to 188 143 143 (0.7372549, 0.56078434, 0.56078434).
Declaration
public static Color3<Rgb> Rosybrown { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Royalblue
Gets system color royalblue corresponding to 65 105 225 (0.25490198, 0.4117647, 0.88235295).
Declaration
public static Color3<Rgb> Royalblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Saddlebrown
Gets system color saddlebrown corresponding to 139 69 19 (0.54509807, 0.27058825, 0.07450981).
Declaration
public static Color3<Rgb> Saddlebrown { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Salmon
Gets system color salmon corresponding to 250 128 114 (0.98039216, 0.5019608, 0.44705883).
Declaration
public static Color3<Rgb> Salmon { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Sandybrown
Gets system color sandybrown corresponding to 244 164 96 (0.95686275, 0.6431373, 0.3764706).
Declaration
public static Color3<Rgb> Sandybrown { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Seagreen
Gets system color seagreen corresponding to 46 139 87 (0.18039216, 0.54509807, 0.34117648).
Declaration
public static Color3<Rgb> Seagreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Seashell
Gets system color seashell corresponding to 255 245 238 (1, 0.9607843, 0.93333334).
Declaration
public static Color3<Rgb> Seashell { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Sienna
Gets system color sienna corresponding to 160 82 45 (0.627451, 0.32156864, 0.1764706).
Declaration
public static Color3<Rgb> Sienna { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Silver
Gets system color silver corresponding to 192 192 192 (0.7529412, 0.7529412, 0.7529412).
Declaration
public static Color3<Rgb> Silver { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Skyblue
Gets system color skyblue corresponding to 135 206 235 (0.5294118, 0.80784315, 0.92156863).
Declaration
public static Color3<Rgb> Skyblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Slateblue
Gets system color slateblue corresponding to 106 90 205 (0.41568628, 0.3529412, 0.8039216).
Declaration
public static Color3<Rgb> Slateblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Slategray
Gets system color slategray corresponding to 112 128 144 (0.4392157, 0.5019608, 0.5647059).
Declaration
public static Color3<Rgb> Slategray { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Snow
Gets system color snow corresponding to 255 250 250 (1, 0.98039216, 0.98039216).
Declaration
public static Color3<Rgb> Snow { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Springgreen
Gets system color springgreen corresponding to 0 255 127 (0, 1, 0.49803922).
Declaration
public static Color3<Rgb> Springgreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Steelblue
Gets system color steelblue corresponding to 70 130 180 (0.27450982, 0.50980395, 0.7058824).
Declaration
public static Color3<Rgb> Steelblue { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Tan
Gets system color tan corresponding to 210 180 140 (0.8235294, 0.7058824, 0.54901963).
Declaration
public static Color3<Rgb> Tan { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Teal
Gets system color teal corresponding to 0 128 128 (0, 0.5019608, 0.5019608).
Declaration
public static Color3<Rgb> Teal { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Thistle
Gets system color thistle corresponding to 216 191 216 (0.84705883, 0.7490196, 0.84705883).
Declaration
public static Color3<Rgb> Thistle { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Tomato
Gets system color tomato corresponding to 255 99 71 (1, 0.3882353, 0.2784314).
Declaration
public static Color3<Rgb> Tomato { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Turquoise
Gets system color turquoise corresponding to 64 224 208 (0.2509804, 0.8784314, 0.8156863).
Declaration
public static Color3<Rgb> Turquoise { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Violet
Gets system color violet corresponding to 238 130 238 (0.93333334, 0.50980395, 0.93333334).
Declaration
public static Color3<Rgb> Violet { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Wheat
Gets system color wheat corresponding to 245 222 179 (0.9607843, 0.87058824, 0.7019608).
Declaration
public static Color3<Rgb> Wheat { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
White
Gets system color white corresponding to 255 255 255 (1, 1, 1).
Declaration
public static Color3<Rgb> White { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Whitesmoke
Gets system color whitesmoke corresponding to 245 245 245 (0.9607843, 0.9607843, 0.9607843).
Declaration
public static Color3<Rgb> Whitesmoke { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Yellow
Gets system color yellow corresponding to 255 255 0 (1, 1, 0).
Declaration
public static Color3<Rgb> Yellow { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Yellowgreen
Gets system color yellowgreen corresponding to 154 205 50 (0.6039216, 0.8039216, 0.19607843).
Declaration
public static Color3<Rgb> Yellowgreen { get; }
Property Value
Type | Description |
---|---|
Color3<Rgb> |
Methods
Add(in Color3<Rgb>, in Color3<Rgb>)
Adds all the elements of left to all the elements of right.
Declaration
public static Color3<Rgb> Add(this in Color3<Rgb> left, in Color3<Rgb> right)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | left | The left hand operand. |
Color3<Rgb> | right | The right hand operand. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The element generated by adding the two colors together. |
Divide(in Color3<Rgb>, in float)
Divides all the elements of left with right.
Declaration
public static Color3<Rgb> Divide(this in Color3<Rgb> left, in float right)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | left | The left hand operand. |
float | right | The right hand operand. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The element generated by dividing all elements of left with right. |
Multiply(in Color3<Rgb>, in Color3<Rgb>)
Multiplies all the elements of left with all the elements of right.
Declaration
public static Color3<Rgb> Multiply(this in Color3<Rgb> left, in Color3<Rgb> right)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | left | The left hand operand. |
Color3<Rgb> | right | The right hand operand. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The element generated by multiplying the two colors together. |
Multiply(in Color3<Rgb>, in float)
Multiplies all the elements of left with right.
Declaration
public static Color3<Rgb> Multiply(this in Color3<Rgb> left, in float right)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | left | The left hand operand. |
float | right | The right hand operand. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The element generated by multiplying all elements of left with right. |
Subtract(in Color3<Rgb>, in Color3<Rgb>)
Subtracts all the elements of right from all the elements of left.
Declaration
public static Color3<Rgb> Subtract(this in Color3<Rgb> left, in Color3<Rgb> right)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | left | The left hand operand. |
Color3<Rgb> | right | The right hand operand. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The element generated by subtracting all elements of right with all elements from left. |
ToArgb(in Color3<Rgb>, float)
Converts a color into Argb color space.
Declaration
[Pure]
public static Color4<Argb> ToArgb(this in Color3<Rgb> color, float alpha)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | color | The color to convert. |
float | alpha | The alpha of the color. |
Returns
Type | Description |
---|---|
Color4<Argb> | The converted color. |
ToHsl(in Color3<Hsv>)
Converts a color into Hsl color space.
Declaration
public static Color3<Hsl> ToHsl(this in Color3<Hsv> color)
Parameters
Type | Name | Description |
---|---|---|
Color3<Hsv> | color | The color to convert. |
Returns
Type | Description |
---|---|
Color3<Hsl> | The converted color. |
ToHsl(in Color3<Rgb>)
Converts a color into Hsl color space.
Declaration
[Pure]
public static Color3<Hsl> ToHsl(this in Color3<Rgb> color)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | color | The color to convert. |
Returns
Type | Description |
---|---|
Color3<Hsl> | The converted color. |
ToHsla(in Color3<Hsl>, float)
Converts a color into Hsla color space.
Declaration
[Pure]
public static Color4<Hsla> ToHsla(this in Color3<Hsl> color, float alpha)
Parameters
Type | Name | Description |
---|---|---|
Color3<Hsl> | color | The color to convert. |
float | alpha | The alpha of this color. |
Returns
Type | Description |
---|---|
Color4<Hsla> | The converted color. |
ToHsv(in Color3<Hsl>)
Converts a color into Hsv color space.
Declaration
[Pure]
public static Color3<Hsv> ToHsv(this in Color3<Hsl> color)
Parameters
Type | Name | Description |
---|---|---|
Color3<Hsl> | color | The color to convert. |
Returns
Type | Description |
---|---|
Color3<Hsv> | The converted color. |
ToHsv(in Color3<Rgb>)
Converts a color into Hsv color space.
Declaration
[Pure]
public static Color3<Hsv> ToHsv(this in Color3<Rgb> color)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | color | The color to convert. |
Returns
Type | Description |
---|---|
Color3<Hsv> | The converted color. |
ToHsva(in Color3<Hsv>, float)
Converts a color into Hsva color space.
Declaration
[Pure]
public static Color4<Hsva> ToHsva(this in Color3<Hsv> color, float alpha)
Parameters
Type | Name | Description |
---|---|---|
Color3<Hsv> | color | The color to convert. |
float | alpha | The alpha of this color. |
Returns
Type | Description |
---|---|
Color4<Hsva> | The converted color. |
ToRgb(in Color3<Hsl>)
Converts a color into Rgb color space.
Declaration
[Pure]
public static Color3<Rgb> ToRgb(this in Color3<Hsl> color)
Parameters
Type | Name | Description |
---|---|---|
Color3<Hsl> | color | The color to convert. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The converted color. |
ToRgb(in Color3<Hsv>)
Converts a color into Rgb color space.
Declaration
[Pure]
public static Color3<Rgb> ToRgb(this in Color3<Hsv> color)
Parameters
Type | Name | Description |
---|---|---|
Color3<Hsv> | color | The color to convert. |
Returns
Type | Description |
---|---|
Color3<Rgb> | The converted color. |
ToRgba(in Color3<Rgb>, float)
Converts a color into Rgba color space.
Declaration
[Pure]
public static Color4<Rgba> ToRgba(this in Color3<Rgb> color, float alpha)
Parameters
Type | Name | Description |
---|---|---|
Color3<Rgb> | color | The color to convert. |
float | alpha | The alpha of the color. |
Returns
Type | Description |
---|---|
Color4<Rgba> | The converted color. |