get_colors.clc: Retrieve Colors from a CLC Style Definition
Description
This function extracts the color values associated with a CLC style definition.
It returns a character vector containing the `color` field from the CLC style definition.
Usage
# S3 method for clc
get_colors(clo)
get_colors(clo)
# S3 method for clc_category
get_colors(clo)
# S3 method for clc_raster
get_colors(clo)
Value
A character vector of colors.
Arguments
clo
A `clc_category` object.
See Also
Other CLC class functions:
as_raster(),
clc(),
copy_to(),
cut_to_extent(),
get_levels.clc(),
get_raster(),
plot_clc(),
prepare_plot(),
save_to()