Color Methods

Methods

Public methodEquals(Object)
Checks if this color has the same RGBA value as another color.
Public methodEquals(Color)
Checks if this color has the same RGBA value as another color.
Public methodStatic memberFromHsl(Single, Single, Single)
Creates a Color instance from HSL (Hue-Saturation-Lightness) color parameters.
Public methodStatic memberFromHsl(Single, Single, Single, Single)
Creates a Color instance from HSL (Hue-Saturation-Lightness) color parameters and an alpha value.
Public methodStatic memberFromHwb(Single, Single, Single)
Creates a Color instance from HWB (Hue-Whiteness-Blackness) color parameters.
Public methodStatic memberFromHwb(Single, Single, Single, Single)
Creates a Color instance from HWB (Hue-Whiteness-Blackness) color parameters and an alpha value.
Public methodStatic memberFromRgb
Creates a fully opaque Color from RGB color components.
Public methodStatic memberFromRgba(UInt32)
Creates a Color from a 32-bit RGBA value.
Public methodStatic memberFromRgba(Int32, Int32, Int32, Int32)
Creates a Color from RGBA color components.
Public methodGetHashCode
Gets the RGBA value which serves as hash for this color.
Public methodStatic memberMix
Computes a mix of the two specified colors, with the proportion given by the specified weight.
Public methodOver
Blends this color with another color using the over blending operation.
Public methodStatic memberParse
Parse a string to a Color.
Public methodToRgba
Gets the 32-bit RGBA value of this color.
Public methodToString
Gets a hexadecimal representation of this color on the format #rrggbbaa.
Public methodToString(String)
Gets a string representation of this color on the specified format.
Public methodToString(String, IFormatProvider)
Gets a string representation of this color on the specified format.
Public methodStatic memberTryParse
Tries to parse a string to a Color without throwing any exception upon failures.

See Also

Reference