Color

Overview

Color is a class in Aspose.Slides FOSS for C++.

Represents an ARGB color, equivalent to System.Drawing.Color.

This class provides 8 methods for working with Color objects in C++ programs. Available methods include: Color, a, b, from_argb, g, r, to_string. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Properties: Color, alice_blue, antique_white, aqua, aquamarine, azure, and 136 more.

Properties

NameTypeAccessDescription
ColorColorReadGets the color.
alice_blueColorRead/WriteGets or sets the alice blue.
antique_whiteColorRead/WriteGets or sets the antique white.
aquaColorRead/WriteGets or sets the aqua.
aquamarineColorRead/WriteGets or sets the aquamarine.
azureColorRead/WriteGets or sets the azure.
beigeColorRead/WriteGets or sets the beige.
bisqueColorRead/WriteGets or sets the bisque.
blackColorRead/WriteGets or sets the black.
blanched_almondColorRead/WriteGets or sets the blanched almond.
blueColorRead/WriteGets or sets the blue.
blue_violetColorRead/WriteGets or sets the blue violet.
brownColorRead/WriteGets or sets the brown.
burly_woodColorRead/WriteGets or sets the burly wood.
cadet_blueColorRead/WriteGets or sets the cadet blue.
chartreuseColorRead/WriteGets or sets the chartreuse.
chocolateColorRead/WriteGets or sets the chocolate.
coralColorRead/WriteGets or sets the coral.
cornflower_blueColorRead/WriteGets or sets the cornflower blue.
cornsilkColorRead/WriteGets or sets the cornsilk.
crimsonColorRead/WriteGets or sets the crimson.
cyanColorRead/WriteGets or sets the cyan.
dark_blueColorRead/WriteGets or sets the dark blue.
dark_cyanColorRead/WriteGets or sets the dark cyan.
dark_goldenrodColorRead/WriteGets or sets the dark goldenrod.
dark_grayColorRead/WriteGets or sets the dark gray.
dark_greenColorRead/WriteGets or sets the dark green.
dark_khakiColorRead/WriteGets or sets the dark khaki.
dark_magentaColorRead/WriteGets or sets the dark magenta.
dark_olive_greenColorRead/WriteGets or sets the dark olive green.
dark_orangeColorRead/WriteGets or sets the dark orange.
dark_orchidColorRead/WriteGets or sets the dark orchid.
dark_redColorRead/WriteGets or sets the dark red.
dark_salmonColorRead/WriteGets or sets the dark salmon.
dark_sea_greenColorRead/WriteGets or sets the dark sea green.
dark_slate_blueColorRead/WriteGets or sets the dark slate blue.
dark_slate_grayColorRead/WriteGets or sets the dark slate gray.
dark_turquoiseColorRead/WriteGets or sets the dark turquoise.
dark_violetColorRead/WriteGets or sets the dark violet.
deep_pinkColorRead/WriteGets or sets the deep pink.
deep_sky_blueColorRead/WriteGets or sets the deep sky blue.
dim_grayColorRead/WriteGets or sets the dim gray.
dodger_blueColorRead/WriteGets or sets the dodger blue.
firebrickColorRead/WriteGets or sets the firebrick.
floral_whiteColorRead/WriteGets or sets the floral white.
forest_greenColorRead/WriteGets or sets the forest green.
fuchsiaColorRead/WriteGets or sets the fuchsia.
gainsboroColorRead/WriteGets or sets the gainsboro.
ghost_whiteColorRead/WriteGets or sets the ghost white.
goldColorRead/WriteGets or sets the gold.
goldenrodColorRead/WriteGets or sets the goldenrod.
grayColorRead/WriteGets or sets the gray.
greenColorRead/WriteGets or sets the green.
green_yellowColorRead/WriteGets or sets the green yellow.
honeydewColorRead/WriteGets or sets the honeydew.
hot_pinkColorRead/WriteGets or sets the hot pink.
indian_redColorRead/WriteGets or sets the indian red.
indigoColorRead/WriteGets or sets the indigo.
ivoryColorRead/WriteGets or sets the ivory.
khakiColorRead/WriteGets or sets the khaki.
lavenderColorRead/WriteGets or sets the lavender.
lavender_blushColorRead/WriteGets or sets the lavender blush.
lawn_greenColorRead/WriteGets or sets the lawn green.
lemon_chiffonColorRead/WriteGets or sets the lemon chiffon.
light_blueColorRead/WriteGets or sets the light blue.
light_coralColorRead/WriteGets or sets the light coral.
light_cyanColorRead/WriteGets or sets the light cyan.
light_goldenrod_yellowColorRead/WriteGets or sets the light goldenrod yellow.
light_grayColorRead/WriteGets or sets the light gray.
light_greenColorRead/WriteGets or sets the light green.
light_pinkColorRead/WriteGets or sets the light pink.
light_salmonColorRead/WriteGets or sets the light salmon.
light_sea_greenColorRead/WriteGets or sets the light sea green.
light_sky_blueColorRead/WriteGets or sets the light sky blue.
light_slate_grayColorRead/WriteGets or sets the light slate gray.
light_steel_blueColorRead/WriteGets or sets the light steel blue.
light_yellowColorRead/WriteGets or sets the light yellow.
limeColorRead/WriteGets or sets the lime.
lime_greenColorRead/WriteGets or sets the lime green.
linenColorRead/WriteGets or sets the linen.
magentaColorRead/WriteGets or sets the magenta.
maroonColorRead/WriteGets or sets the maroon.
medium_aquamarineColorRead/WriteGets or sets the medium aquamarine.
medium_blueColorRead/WriteGets or sets the medium blue.
medium_orchidColorRead/WriteGets or sets the medium orchid.
medium_purpleColorRead/WriteGets or sets the medium purple.
medium_sea_greenColorRead/WriteGets or sets the medium sea green.
medium_slate_blueColorRead/WriteGets or sets the medium slate blue.
medium_spring_greenColorRead/WriteGets or sets the medium spring green.
medium_turquoiseColorRead/WriteGets or sets the medium turquoise.
medium_violet_redColorRead/WriteGets or sets the medium violet red.
midnight_blueColorRead/WriteGets or sets the midnight blue.
mint_creamColorRead/WriteGets or sets the mint cream.
misty_roseColorRead/WriteGets or sets the misty rose.
moccasinColorRead/WriteGets or sets the moccasin.
navajo_whiteColorRead/WriteGets or sets the navajo white.
navyColorRead/WriteGets or sets the navy.
old_laceColorRead/WriteGets or sets the old lace.
oliveColorRead/WriteGets or sets the olive.
olive_drabColorRead/WriteGets or sets the olive drab.
orangeColorRead/WriteGets or sets the orange.
orange_redColorRead/WriteGets or sets the orange red.
orchidColorRead/WriteGets or sets the orchid.
pale_goldenrodColorRead/WriteGets or sets the pale goldenrod.
pale_greenColorRead/WriteGets or sets the pale green.
pale_turquoiseColorRead/WriteGets or sets the pale turquoise.
pale_violet_redColorRead/WriteGets or sets the pale violet red.
papaya_whipColorRead/WriteGets or sets the papaya whip.
peach_puffColorRead/WriteGets or sets the peach puff.
peruColorRead/WriteGets or sets the peru.
pinkColorRead/WriteGets or sets the pink.
plumColorRead/WriteGets or sets the plum.
powder_blueColorRead/WriteGets or sets the powder blue.
purpleColorRead/WriteGets or sets the purple.
redColorRead/WriteGets or sets the red.
rosy_brownColorRead/WriteGets or sets the rosy brown.
royal_blueColorRead/WriteGets or sets the royal blue.
saddle_brownColorRead/WriteGets or sets the saddle brown.
salmonColorRead/WriteGets or sets the salmon.
sandy_brownColorRead/WriteGets or sets the sandy brown.
sea_greenColorRead/WriteGets or sets the sea green.
sea_shellColorRead/WriteGets or sets the sea shell.
siennaColorRead/WriteGets or sets the sienna.
silverColorRead/WriteGets or sets the silver.
sky_blueColorRead/WriteGets or sets the sky blue.
slate_blueColorRead/WriteGets or sets the slate blue.
slate_grayColorRead/WriteGets or sets the slate gray.
snowColorRead/WriteGets or sets the snow.
spring_greenColorRead/WriteGets or sets the spring green.
steel_blueColorRead/WriteGets or sets the steel blue.
tanColorRead/WriteGets or sets the tan.
tealColorRead/WriteGets or sets the teal.
thistleColorRead/WriteGets or sets the thistle.
tomatoColorRead/WriteGets or sets the tomato.
transparentColorRead/WriteGets or sets the transparent.
turquoiseColorRead/WriteGets or sets the turquoise.
violetColorRead/WriteGets or sets the violet.
wheatColorRead/WriteGets or sets the wheat.
whiteColorRead/WriteGets or sets the white.
white_smokeColorRead/WriteGets or sets the white smoke.
yellowColorRead/WriteGets or sets the yellow.
yellow_greenColorRead/WriteGets or sets the yellow green.

Methods

SignatureDescription
Color()ColorConstructs a color with the given ARGB components (each 0-255).
Color(a: uint8_t, r: uint8_t, g: uint8_t, b: uint8_t)Constructs a color with the given ARGB components (each 0-255).
from_argb(a: uint8_t, r: uint8_t, g: uint8_t, b: uint8_t)ColorCreates a Color from ARGB components.
a()uint8_tReturns the alpha component.
r()uint8_tReturns the red component.
g()uint8_tReturns the green component.
b()uint8_tReturns the blue component.
to_string()std::stringReturns a human-readable string representation.

See Also