A numeric vector giving the alpha component. If it has two or more values, then each alpha value is assigned to each color.
t
Numeric of length one or two, giving the transition points between "hot" and cold". Two points can be used for a softer effect, but they should be relatively close.
d
Numeric of length one or two, giving the distance about the transition point.
hot.hue, cold.hue
Numerics, the hot and cold hues.
…
Ignored.
Value
All functions return litmus objects.
(Except for hot.and.cold, which returns a mlitmus object).
Details
Most of these functions wrap the litmus function.
The rainbow.litmus and rainbow.litmus.2 functions are based on colorspace::rainbow_hcl.
References
Refer to the vignette for an overview, references and better examples.