fn builtin_grey(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Convert grey levels to hex color strings.
Vectorized: accepts a numeric vector of levels in [0,1] where 0=black, 1=white.
@param level numeric vector of grey levels in [0,1] @param alpha optional transparency in [0,1] (default 1, fully opaque) @return character vector of hex color strings