Convert numerical values to divergent colors
Arguments
- x
Numeric.
- center
Integer. Currently only 0
is valid.
If center == 0
, 0
is used as the center and corresponds to
the central color (lightgoldenrod1).
Otherwise, x
must have values in the range 0, 1.
Value
A vector of hex colors.