getColors.Color: Gets the set of colors in the \#rrggbb format

Description Usage Arguments Value Author(s) See Also

Description

Gets the set of colors in the \#rrggbb format.

Usage

1
2
## S3 method for class 'Color'
getColors(this, filter=TRUE, ...)

Arguments

filter

If TRUE, the colors are filter through the default filter, see *viewThroughColorFilter(), otherwise not.

By default the getColors() method does not take any other arguments, but subclasses may provide optional arguments for convenience, e.g. gamma correction parameters etc.

...

Not used.

Value

Returns a vector of character strings of length equal to the number of colors in the Color object. The returned colors are character string of format "#nnnnnn" where n is a hexadecimal digit. For more information about this format colors.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*[(), *as.character(), For more information see Color.


HenrikBengtsson/R.colors documentation built on May 6, 2019, 11:53 p.m.