Color class
Color class
Structure representing a color.
The Color type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Constructs a new instance of Color |
Properties
| Property | Description |
|---|---|
| empty | Gets a system-defined color. |
| transparent | Gets a system-defined color. |
| alice_blue | Gets a system-defined color. |
| antique_white | Gets a system-defined color. |
| aqua | Gets a system-defined color. |
| aquamarine | Gets a system-defined color. |
| azure | Gets a system-defined color. |
| beige | Gets a system-defined color. |
| bisque | Gets a system-defined color. |
| black | Gets a system-defined color. |
| blanched_almond | Gets a system-defined color. |
| blue | Gets a system-defined color. |
| blue_violet | Gets a system-defined color. |
| brown | Gets a system-defined color. |
| burly_wood | Gets a system-defined color. |
| cadet_blue | Gets a system-defined color. |
| chartreuse | Gets a system-defined color. |
| chocolate | Gets a system-defined color. |
| coral | Gets a system-defined color. |
| cornflower_blue | Gets a system-defined color. |
| cornsilk | Gets a system-defined color. |
| crimson | Gets a system-defined color. |
| cyan | Gets a system-defined color. |
| dark_blue | Gets a system-defined color. |
| dark_cyan | Gets a system-defined color. |
| dark_goldenrod | Gets a system-defined color. |
| dark_gray | Gets a system-defined color. |
| dark_green | Gets a system-defined color. |
| dark_khaki | Gets a system-defined color. |
| dark_magenta | Gets a system-defined color. |
| dark_olive_green | Gets a system-defined color. |
| dark_orange | Gets a system-defined color. |
| dark_orchid | Gets a system-defined color. |
| dark_red | Gets a system-defined color. |
| dark_salmon | Gets a system-defined color. |
| dark_sea_green | Gets a system-defined color. |
| dark_slate_blue | Gets a system-defined color. |
| dark_slate_gray | Gets a system-defined color. |
| dark_turquoise | Gets a system-defined color. |
| dark_violet | Gets a system-defined color. |
| deep_pink | Gets a system-defined color. |
| deep_sky_blue | Gets a system-defined color. |
| dim_gray | Gets a system-defined color. |
| dodger_blue | Gets a system-defined color. |
| firebrick | Gets a system-defined color. |
| floral_white | Gets a system-defined color. |
| forest_green | Gets a system-defined color. |
| fuchsia | Gets a system-defined color. |
| gainsboro | Gets a system-defined color. |
| ghost_white | Gets a system-defined color. |
| gold | Gets a system-defined color. |
| goldenrod | Gets a system-defined color. |
| gray | Gets a system-defined color. |
| green | Gets a system-defined color. |
| green_yellow | Gets a system-defined color. |
| honeydew | Gets a system-defined color. |
| hot_pink | Gets a system-defined color. |
| indian_red | Gets a system-defined color. |
| indigo | Gets a system-defined color. |
| ivory | Gets a system-defined color. |
| khaki | Gets a system-defined color. |
| lavender | Gets a system-defined color. |
| lavender_blush | Gets a system-defined color. |
| lawn_green | Gets a system-defined color. |
| lemon_chiffon | Gets a system-defined color. |
| light_blue | Gets a system-defined color. |
| light_coral | Gets a system-defined color. |
| light_cyan | Gets a system-defined color. |
| light_goldenrod_yellow | Gets a system-defined color. |
| light_gray | Gets a system-defined color. |
| light_green | Gets a system-defined color. |
| light_pink | Gets a system-defined color. |
| light_salmon | Gets a system-defined color. |
| light_sea_green | Gets a system-defined color. |
| light_sky_blue | Gets a system-defined color. |
| light_slate_gray | Gets a system-defined color. |
| light_steel_blue | Gets a system-defined color. |
| light_yellow | Gets a system-defined color. |
| lime | Gets a system-defined color. |
| lime_green | Gets a system-defined color. |
| linen | Gets a system-defined color. |
| magenta | Gets a system-defined color. |
| maroon | Gets a system-defined color. |
| medium_aquamarine | Gets a system-defined color. |
| medium_blue | Gets a system-defined color. |
| medium_orchid | Gets a system-defined color. |
| medium_purple | Gets a system-defined color. |
| medium_sea_green | Gets a system-defined color. |
| medium_slate_blue | Gets a system-defined color. |
| medium_spring_green | Gets a system-defined color. |
| medium_turquoise | Gets a system-defined color. |
| medium_violet_red | Gets a system-defined color. |
| midnight_blue | Gets a system-defined color. |
| mint_cream | Gets a system-defined color. |
| misty_rose | Gets a system-defined color. |
| moccasin | Gets a system-defined color. |
| navajo_white | Gets a system-defined color. |
| navy | Gets a system-defined color. |
| old_lace | Gets a system-defined color. |
| olive | Gets a system-defined color. |
| olive_drab | Gets a system-defined color. |
| orange | Gets a system-defined color. |
| orange_red | Gets a system-defined color. |
| orchid | Gets a system-defined color. |
| pale_goldenrod | Gets a system-defined color. |
| pale_green | Gets a system-defined color. |
| pale_turquoise | Gets a system-defined color. |
| pale_violet_red | Gets a system-defined color. |
| papaya_whip | Gets a system-defined color. |
| peach_puff | Gets a system-defined color. |
| peru | Gets a system-defined color. |
| pink | Gets a system-defined color. |
| plum | Gets a system-defined color. |
| powder_blue | Gets a system-defined color. |
| purple | Gets a system-defined color. |
| red | Gets a system-defined color. |
| rosy_brown | Gets a system-defined color. |
| royal_blue | Gets a system-defined color. |
| saddle_brown | Gets a system-defined color. |
| salmon | Gets a system-defined color. |
| sandy_brown | Gets a system-defined color. |
| sea_green | Gets a system-defined color. |
| sea_shell | Gets a system-defined color. |
| sienna | Gets a system-defined color. |
| silver | Gets a system-defined color. |
| sky_blue | Gets a system-defined color. |
| slate_blue | Gets a system-defined color. |
| slate_gray | Gets a system-defined color. |
| snow | Gets a system-defined color. |
| spring_green | Gets a system-defined color. |
| steel_blue | Gets a system-defined color. |
| tan | Gets a system-defined color. |
| teal | Gets a system-defined color. |
| thistle | Gets a system-defined color. |
| tomato | Gets a system-defined color. |
| turquoise | Gets a system-defined color. |
| violet | Gets a system-defined color. |
| wheat | Gets a system-defined color. |
| white | Gets a system-defined color. |
| white_smoke | Gets a system-defined color. |
| yellow | Gets a system-defined color. |
| yellow_green | Gets a system-defined color. |
| r | Gets the red component value of the color. |
| g | Gets the green component value of the color. |
| b | Gets the blue component value of the color. |
| a | Gets the alpha component value of the color. |
| is_empty | Gets a value indicating whether this Color structure is uninitialized. |
Methods
| Method | Description |
|---|---|
| from_argb | Creates a Color structure from a 32-bit ARGB value. |
| from_argb | Creates a Color structure from the specified Color structure,
but with the new specified alpha value. |
| from_argb | Creates a Color structure from the specified 8-bit color values (red, green, and blue) and
the alpha value is implicitly 255 (fully opaque). |
| from_argb | Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. |
| to_argb | Gets the 32-bit ARGB value of this Color structure. |
| get_hue | Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure. |
| get_saturation | Gets the hue-saturation-brightness (HSB) saturation value for this Color structure. |
| get_brightness | Gets the hue-saturation-brightness (HSB) brightness value for this Color structure. |
| equals | Determines whether the specified Color structure is equivalent to this Color structure. |
See Also
- module
groupdocs.watermark.watermarks - class
Color