Parent: Object
Represents a color in a platform-independent way.
WLColor offers constructors that allow you to pass alpha, red, green, and blue color components, or to base an instance on another WLColor instance.
Contains the alpha component of the color. 0 is fully transparent, while 255 is fully opaque.
Contains the blue component of the color.
Returns a brightened version of the color. The option min parameter lets you establish a minimum Brightness value for the returned color.
Returns the brightness of the color, in a range of 0 to 1.
Returns a darkened version of the color. The option max parameter lets you establish a maximum Brightness value for the returned color.
Contains the green component of the color.
Contains the red component of the color.
Returns a version of the color with a modified alpha (A property.)
Returns a WLColor instance based on the string s, which is formatted in the same manner as WLColor's ToString method.
These static methods were introduced to preserve compatibility with System.Drawing.Color.