Returns the Cyan component of an (R,G,B) color.
Syntax
CLRCYAN(Color)
Input
Color | is a map or a column with the Color domain or a picture domain, or an expression which results in a color |
Domain type: | system domain Color or a Picture domain |
Output
CLRCYAN returns: | a value |
Domain: | system domain Image |
Notes:
Tips:
Usable in
MapCalc, TabCalc, Simple calculators
Examples
Pocket line calculator example:
? CLRCYAN(RPRCOLOR(Landuse,"Riverbed")) |
returns the cyan component of class "Riverbed" from representation Landuse, e.g. 255. |
TabCalc example:
Cyan = CLRCYAN(Color)
Landuse.rpr |
Landunit |
Colorname |
Color |
Cyan |
Agriculture |
Yellow |
(255, 255, 0) |
0 |
Airport |
Red |
(255, 0, 0) |
0 |
Bare soils |
Brown |
(164, 40, 40) |
91 |
Forest |
Forest Green |
(48, 128, 76) |
207 |
Grass |
Yellow Green |
(98, 98, 98) |
157 |
Lake |
Blue |
(0, 0, 255) |
255 |
Riverbed |
Cyan |
(0, 255, 255) |
255 |
Rocks |
Gray |
(128, 128, 128) |
127 |
Shrubs |
Magenta |
(255, 0, 255) |
0 |
MapCalc example:
LandColor = MAPCOLOR(Landuse)
Cyan = CLRCYAN(LandColor)
Landuse |
LandColor |
Cyan |
|||||||||||||||||||||||||||
|
|
|
See also:
COLOR | CLRGREEN | CLRYELLOW | CLRHUE |
MAPCOLOR | CLRBLUE | CLRMAGENTA | CLRSAT |
RPRCOLOR | CLRCYAN | CLRINTENS | |
CLRGREY | COLORHSI |