powered by
These functions simply extact information about a given color or vector of colors, given either as names (e.g. "red") or hex codes (e.g. "FF0000")
GetOpacity(color) GetHue(color) GetSaturation(color) GetValue(color)
A color or vector of colors
Numeric value(s) between 0 and 1, with the same length as color
# NOT RUN { GetValue("red") GetOpacity("blue") GetHue(rainbow(100)) # }
Run the code above in your browser using DataLab