Color class
Contents
[
Hide
]Color class
Represents an ARGB (alpha, red, green, blue) color.
The Color type exposes the following members:
Constructors
Name | Description |
---|---|
Color() | Initializes a new instance of the Color class |
Properties
Name | Description |
---|---|
transparent | Gets a system-defined color. |
alice_blue | Gets a system-defined color that has an ARGB value of #FFF0F8FF. |
antique_white | Gets a system-defined color that has an ARGB value of #FFFAEBD7. |
aqua | Gets a system-defined color that has an ARGB value of #FF00FFFF. |
aquamarine | Gets a system-defined color that has an ARGB value of #FF7FFFD4. |
azure | Gets a system-defined color that has an ARGB value of #FFF0FFFF. |
beige | Gets a system-defined color that has an ARGB value of #FFF5F5DC. |
bisque | Gets a system-defined color that has an ARGB value of #FFFFE4C4. |
black | Gets a system-defined color that has an ARGB value of #FF000000. |
blanched_almond | Gets a system-defined color that has an ARGB value of #FFFFEBCD. |
blue | Gets a system-defined color that has an ARGB value of #FF0000FF. |
blue_violet | Gets a system-defined color that has an ARGB value of #FF8A2BE2. |
brown | Gets a system-defined color that has an ARGB value of #FFA52A2A. |
burly_wood | Gets a system-defined color that has an ARGB value of #FFDEB887. |
cadet_blue | Gets a system-defined color that has an ARGB value of #FF5F9EA0. |
chartreuse | Gets a system-defined color that has an ARGB value of #FF7FFF00. |
chocolate | Gets a system-defined color that has an ARGB value of #FFD2691E. |
coral | Gets a system-defined color that has an ARGB value of #FFFF7F50. |
cornflower_blue | Gets a system-defined color that has an ARGB value of #FF6495ED. |
cornsilk | Gets a system-defined color that has an ARGB value of #FFFFF8DC. |
crimson | Gets a system-defined color that has an ARGB value of #FFDC143C. |
cyan | Gets a system-defined color that has an ARGB value of #FF00FFFF. |
dark_blue | Gets a system-defined color that has an ARGB value of #FF00008B. |
dark_cyan | Gets a system-defined color that has an ARGB value of #FF008B8B. |
dark_goldenrod | Gets a system-defined color that has an ARGB value of #FFB8860B. |
dark_gray | Gets a system-defined color that has an ARGB value of #FFA9A9A9. |
dark_green | Gets a system-defined color that has an ARGB value of #FF006400. |
dark_khaki | Gets a system-defined color that has an ARGB value of #FFBDB76B. |
dark_magenta | Gets a system-defined color that has an ARGB value of #FF8B008B. |
dark_olive_green | Gets a system-defined color that has an ARGB value of #FF556B2F. |
dark_orange | Gets a system-defined color that has an ARGB value of #FFFF8C00. |
dark_orchid | Gets a system-defined color that has an ARGB value of #FF9932CC. |
dark_red | Gets a system-defined color that has an ARGB value of #FF8B0000. |
dark_salmon | Gets a system-defined color that has an ARGB value of #FFE9967A. |
dark_sea_green | Gets a system-defined color that has an ARGB value of #FF8FBC8F. |
dark_slate_blue | Gets a system-defined color that has an ARGB value of #FF483D8B. |
dark_slate_gray | Gets a system-defined color that has an ARGB value of #FF2F4F4F. |
dark_turquoise | Gets a system-defined color that has an ARGB value of #FF00CED1. |
dark_violet | Gets a system-defined color that has an ARGB value of #FF9400D3. |
deep_pink | Gets a system-defined color that has an ARGB value of #FFFF1493. |
deep_sky_blue | Gets a system-defined color that has an ARGB value of #FF00BFFF. |
dim_gray | Gets a system-defined color that has an ARGB value of #FF696969. |
dodger_blue | Gets a system-defined color that has an ARGB value of #FF1E90FF. |
firebrick | Gets a system-defined color that has an ARGB value of #FFB22222. |
floral_white | Gets a system-defined color that has an ARGB value of #FFFFFAF0. |
forest_green | Gets a system-defined color that has an ARGB value of #FF228B22. |
fuchsia | Gets a system-defined color that has an ARGB value of #FFFF00FF. |
gainsboro | Gets a system-defined color that has an ARGB value of #FFDCDCDC. |
ghost_white | Gets a system-defined color that has an ARGB value of #FFF8F8FF. |
gold | Gets a system-defined color that has an ARGB value of #FFFFD700. |
goldenrod | Gets a system-defined color that has an ARGB value of #FFDAA520. |
gray | Gets a system-defined color that has an ARGB value of #FF808080. |
green | Gets a system-defined color that has an ARGB value of #FF008000. |
green_yellow | Gets a system-defined color that has an ARGB value of #FFADFF2F. |
honeydew | Gets a system-defined color that has an ARGB value of #FFF0FFF0. |
hot_pink | Gets a system-defined color that has an ARGB value of #FFFF69B4. |
indian_red | Gets a system-defined color that has an ARGB value of #FFCD5C5C. |
indigo | Gets a system-defined color that has an ARGB value of #FF4B0082. |
ivory | Gets a system-defined color that has an ARGB value of #FFFFFFF0. |
khaki | Gets a system-defined color that has an ARGB value of #FFF0E68C. |
lavender | Gets a system-defined color that has an ARGB value of #FFE6E6FA. |
lavender_blush | Gets a system-defined color that has an ARGB value of #FFFFF0F5. |
lawn_green | Gets a system-defined color that has an ARGB value of #FF7CFC00. |
lemon_chiffon | Gets a system-defined color that has an ARGB value of #FFFFFACD. |
light_blue | Gets a system-defined color that has an ARGB value of #FFADD8E6. |
light_coral | Gets a system-defined color that has an ARGB value of #FFF08080. |
light_cyan | Gets a system-defined color that has an ARGB value of #FFE0FFFF. |
light_goldenrod_yellow | Gets a system-defined color that has an ARGB value of #FFFAFAD2. |
light_green | Gets a system-defined color that has an ARGB value of #FF90EE90. |
light_gray | Gets a system-defined color that has an ARGB value of #FFD3D3D3. |
light_pink | Gets a system-defined color that has an ARGB value of #FFFFB6C1. |
light_salmon | Gets a system-defined color that has an ARGB value of #FFFFA07A. |
light_sea_green | Gets a system-defined color that has an ARGB value of #FF20B2AA. |
light_sky_blue | Gets a system-defined color that has an ARGB value of #FF87CEFA. |
light_slate_gray | Gets a system-defined color that has an ARGB value of #FF778899. |
light_steel_blue | Gets a system-defined color that has an ARGB value of #FFB0C4DE. |
light_yellow | Gets a system-defined color that has an ARGB value of #FFFFFFE0. |
lime | Gets a system-defined color that has an ARGB value of #FF00FF00. |
lime_green | Gets a system-defined color that has an ARGB value of #FF32CD32. |
linen | Gets a system-defined color that has an ARGB value of #FFFAF0E6. |
magenta | Gets a system-defined color that has an ARGB value of #FFFF00FF. |
maroon | Gets a system-defined color that has an ARGB value of #FF800000. |
medium_aquamarine | Gets a system-defined color that has an ARGB value of #FF66CDAA. |
medium_blue | Gets a system-defined color that has an ARGB value of #FF0000CD. |
medium_orchid | Gets a system-defined color that has an ARGB value of #FFBA55D3. |
medium_purple | Gets a system-defined color that has an ARGB value of #FF9370DB. |
medium_sea_green | Gets a system-defined color that has an ARGB value of #FF3CB371. |
medium_slate_blue | Gets a system-defined color that has an ARGB value of #FF7B68EE. |
medium_spring_green | Gets a system-defined color that has an ARGB value of #FF00FA9A. |
medium_turquoise | Gets a system-defined color that has an ARGB value of #FF48D1CC. |
medium_violet_red | Gets a system-defined color that has an ARGB value of #FFC71585. |
midnight_blue | Gets a system-defined color that has an ARGB value of #FF191970. |
mint_cream | Gets a system-defined color that has an ARGB value of #FFF5FFFA. |
misty_rose | Gets a system-defined color that has an ARGB value of #FFFFE4E1. |
moccasin | Gets a system-defined color that has an ARGB value of #FFFFE4B5. |
navajo_white | Gets a system-defined color that has an ARGB value of #FFFFDEAD. |
navy | Gets a system-defined color that has an ARGB value of #FF000080. |
old_lace | Gets a system-defined color that has an ARGB value of #FFFDF5E6. |
olive | Gets a system-defined color that has an ARGB value of #FF808000. |
olive_drab | Gets a system-defined color that has an ARGB value of #FF6B8E23. |
orange | Gets a system-defined color that has an ARGB value of #FFFFA500. |
orange_red | Gets a system-defined color that has an ARGB value of #FFFF4500. |
orchid | Gets a system-defined color that has an ARGB value of #FFDA70D6. |
pale_goldenrod | Gets a system-defined color that has an ARGB value of #FFEEE8AA. |
pale_green | Gets a system-defined color that has an ARGB value of #FF98FB98. |
pale_turquoise | Gets a system-defined color that has an ARGB value of #FFAFEEEE. |
pale_violet_red | Gets a system-defined color that has an ARGB value of #FFDB7093. |
papaya_whip | Gets a system-defined color that has an ARGB value of #FFFFEFD5. |
peach_puff | Gets a system-defined color that has an ARGB value of #FFFFDAB9. |
peru | Gets a system-defined color that has an ARGB value of #FFCD853F. |
pink | Gets a system-defined color that has an ARGB value of #FFFFC0CB. |
plum | Gets a system-defined color that has an ARGB value of #FFDDA0DD. |
powder_blue | Gets a system-defined color that has an ARGB value of #FFB0E0E6. |
purple | Gets a system-defined color that has an ARGB value of #FF800080. |
red | Gets a system-defined color that has an ARGB value of #FFFF0000. |
rosy_brown | Gets a system-defined color that has an ARGB value of #FFBC8F8F. |
royal_blue | Gets a system-defined color that has an ARGB value of #FF4169E1. |
saddle_brown | Gets a system-defined color that has an ARGB value of #FF8B4513. |
salmon | Gets a system-defined color that has an ARGB value of #FFFA8072. |
sandy_brown | Gets a system-defined color that has an ARGB value of #FFF4A460. |
sea_green | Gets a system-defined color that has an ARGB value of #FF2E8B57. |
sea_shell | Gets a system-defined color that has an ARGB value of #FFFFF5EE. |
sienna | Gets a system-defined color that has an ARGB value of #FFA0522D. |
silver | Gets a system-defined color that has an ARGB value of #FFC0C0C0. |
sky_blue | Gets a system-defined color that has an ARGB value of #FF87CEEB. |
slate_blue | Gets a system-defined color that has an ARGB value of #FF6A5ACD. |
slate_gray | Gets a system-defined color that has an ARGB value of #FF708090. |
snow | Gets a system-defined color that has an ARGB value of #FFFFFAFA. |
spring_green | Gets a system-defined color that has an ARGB value of #FF00FF7F. |
steel_blue | Gets a system-defined color that has an ARGB value of #FF4682B4. |
tan | Gets a system-defined color that has an ARGB value of #FFD2B48C. |
teal | Gets a system-defined color that has an ARGB value of #FF008080. |
thistle | Gets a system-defined color that has an ARGB value of #FFD8BFD8. |
tomato | Gets a system-defined color that has an ARGB value of #FFFF6347. |
turquoise | Gets a system-defined color that has an ARGB value of #FF40E0D0. |
violet | Gets a system-defined color that has an ARGB value of #FFEE82EE. |
wheat | Gets a system-defined color that has an ARGB value of #FFF5DEB3. |
white | Gets a system-defined color that has an ARGB value of #FFFFFFFF. |
white_smoke | Gets a system-defined color that has an ARGB value of #FFF5F5F5. |
yellow | Gets a system-defined color that has an ARGB value of #FFFFFF00. |
yellow_green | Gets a system-defined color that has an ARGB value of #FF9ACD32. |
r | Gets the red component value of this Color structure. |
g | Gets the green component value of this Color structure. |
b | Gets the blue component value of this Color structure. |
a | Gets the alpha component value of this Color structure. |
is_empty | Specifies whether this Color structure is uninitialized. |
is_named_color | Gets a value indicating whether this Color structure is a named color or a member of the enumeration. |
name | Gets the name of this Color. |
EMPTY | Represents a color that is null. |
Methods
Name | Description |
---|---|
from_argb(argb) | Creates a Color structure from a 32-bit ARGB value. |
from_argb(alpha, red, green, blue) | Creates a Color structure from a 32-bit ARGB value. |
from_argb(alpha, base_color) | Creates a Color structure from a 32-bit ARGB value. |
from_argb(red, green, blue) | Creates a Color structure from a 32-bit ARGB value. |
from_name(name) | Creates a Color structure from the specified name of a predefined color. |
get_brightness() | Gets the hue-saturation-brightness (HSB) brightness value for 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. |
to_argb() | Gets the 32-bit ARGB value of this Color structure. |
clone() | Clones this Aspose.Page.Drawing.Color. |
See Also
- module
aspose.page.drawing
- package
aspose.page