The function creates objects of the S3 class calibramp
. The calibramp
-class lists have three elements: col
hexadecimal color values, mid
: z-values of midpoints (one for every color), and breaks
: separator borders between color values.
Color interpolation will be executed linearly, using colorRampPalette
, the order of the values will be forced to ascending, the values in mid
will be halfway between breaks.