a | The alpha/transparency color component, in range of 0 (fully transparent) to 1 (fully opaque), which <b>can be exceeded</b>. |
b | The blue color component, in range of 0-1, which <b>can be exceeded</b>. |
g | The green color component, in range of 0-1, which <b>can be exceeded</b>. |
r | The red color component, in range of 0-1, which <b>can be exceeded</b>. |
Hex | String representation of the form "#RRGGBB[AA]". |
IsHdr | Returns true if any component exceeds 1 |
IsRepresentableInHex | Returns true if this color can be represented in hexadecimal format (#RRGGBB[AA]). This may not be the case if the color components are outside of [0,1] range. |
IsSdr | Returns true if all components are between 0 and 1 |
Item | |
Luminance | Returns the luminance of the color, basically it's grayscale value or "black and white version". |
RawInt | Integer representation of the form 0xAABBGGRR as used by native code. |
Rgb | String representation in the form of <see href="https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb">rgb</see>( r, g, b ) css function notation. |
Rgba | String representation in the form of <see href="https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgba">rgba</see>( r, g, b, a ) css function notation. |
RgbaInt | Integer representation of the form 0xRRGGBBAA. |
RgbInt | Integer representation of the form 0xRRGGBB. |
AdjustHue | |
ComponentCountChangedBetweenColors | |
Darken | |
Desaturate | |
Invert | Returns inverted color. Alpha is unchanged. |
LerpTo | |
Lighten | |
Saturate | |
ToColor32 | |
ToHsv | Converts this color to a HSV format. |
WithAlpha | |
WithAlphaMultiplied | |
WithBlue | |
WithGreen | |
WithRed |
Black | Fully opaque black color. |
Blue | Fully opaque pure blue color. |
Cyan | Fully opaque cyan color. |
Gray | Fully opaque gray color, right between white and black. |
Green | Fully opaque pure green color. |
Magenta | Fully opaque magenta color. |
Orange | Fully opaque orange color. |
Red | Fully opaque pure red color. |
Transparent | Fully transparent color. |
White | Fully opaque white color. |
Yellow | Fully opaque yellow color. |
Random | Returns a random color out of 8 preset colors. |
Average | |
FromBytes | |
FromRgb | |
FromRgba | |
Lerp | |
Max | |
Min | |
Parse | |
TryParse |