Color - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

ColorTools

  

Color

  

construct a color data structure

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Color(colorspace, coordinates)

Color(colorspace, color)

Color(color)

Parameters

colorspace

-

string designating a known color space; "RGB" by default

coordinates

-

coordinates of the color in the given color space

color

-

color format recognized by ColorTools

Description

• 

The Color procedure is a constructor for a color data structure.  This data structure is recognized by most ColorTools commands and many plot commands.

• 

The parameter colorspace can be any of the color spaces listed on the ColorTools/ColorSpaces help page.

• 

Color structures can be indexed as lists.  Two structures are considered equal only if their distance (in the CIE76 metric) is less than .

Examples

Colors can be constructed with names

(1)

(2)

or with coordinates in the specified space

(3)

(4)

(5)

They can be indexed as lists using either numeric or character indices

(6)

(7)

(8)

(9)

(10)

(11)

Two colors can be the same even if they are specified in difference color spaces

(12)

(13)

(14)

(15)

Compatibility

• 

The ColorTools[Color] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools[Distance]

 


Download Help Document