Name | Description | |
---|---|---|
![]() | Darken | Overloaded. Gets a 40% darker version of this color. |
![]() | Deserialize | Deserializes the object state from the specified property bag. |
![]() | Equals | Overloaded. |
![]() | Format | Formats this color value. |
![]() ![]() | FromARGB | Overloaded. Creates a new RGB color with the specified alpha. |
![]() ![]() | FromBGRA | Creates a color from a packed BGRA value. |
![]() ![]() | FromCMYK | Overloaded. Creates a new CMYK color. Alpha is set to 1.0. |
![]() ![]() | FromColor | Overloaded. Creates a new color that has the color components of another color and has the specified alpha. |
![]() ![]() | FromHSB | Creates a new HSB color. Alpha is set to 1.0. |
![]() ![]() | FromHSBA | Creates a new HSB color. |
![]() ![]() | FromHSL | Creates a new HSL color. Alpha is set to 1.0. |
![]() ![]() | FromHSLA | Creates a new HSL color. |
![]() ![]() | FromRGB | Overloaded. Creates a new RGB color. Alpha is set to 1.0. |
![]() ![]() | FromRGBA | Overloaded. Creates a new RGB color with the specified alpha. |
![]() ![]() | FromXYZ | Creates a new XYZ color. Alpha is set to 1.0. |
![]() ![]() | FromXYZA | Creates a new XYZ color. |
![]() ![]() | FromYCC | Creates a new YCC color. Alpha is set to 1.0. |
![]() ![]() | FromYCCA | Creates a new YCC color. |
![]() | GetCMYK | Gets the color value in CMYK space. |
![]() | GetHashCode | |
![]() | GetHEX | Gets the HEX (Web) representation of the RGB color (e.g. #ff00a8). |
![]() | GetHSB | Gets the color value in HSB space. |
![]() | GetHSL | Gets the color value in HSL space. |
![]() ![]() | GetKnownColors | Gets a list that maps the known colors names to color values. |
![]() ![]() | GetNameOrHex | Gets the name or the HEX equivalent of a given color. |
![]() | GetRGB | Gets the color value in RGB space. |
![]() | GetXYZ | Gets the color value in XYZ space. |
![]() | GetYCC | Gets the color value in YCC space. |
![]() ![]() | InterpolateColors | Overloaded. Creates a new color by interpolating between the specified colors. |
![]() | Invert | Returns the inverse of this color. |
![]() | Lighten | Overloaded. Gets a 40% ligher version of this color. |
![]() ![]() | Parse | Creates a color from the given string. Throws an exception if the parsing fails. |
![]() ![]() | ParseHex | Create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). Throws an exception if the parsing fails. |
![]() | RGBEquals | Checks whether the packed RGB representation of the color is equal to the specified color. |
![]() | Serialize | Serializes the object state into the specified property bag. |
![]() | ToGrayscale | Returns a grayscale color in the same color space as this one. |
![]() | ToHtmlColorString | Returns the HTML color string representation of this color, for example #FF00A8 or in case the color has transperancy - rgba(255, 0, 0, 0.5). |
![]() | ToString | Returns a string formatted with the RGB color equivalent for display purposes (e.g. values in range 0:255). |
![]() ![]() | TryParse | Tries to create a color from the given string. |
![]() ![]() | TryParseHex | Tries to create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). where R, G and B are hex digits. |
![]() ![]() | TryParseHtmlColor | Tries to parse the given string and create a color following the W3C specification. |
![]() ![]() | TryParseHtmlHexColor | Creates an RGB color from a HEX color (Web color) string. |