Search notes:

R function: rainbow

# Generate 7 colors from the rainbow:
rainbow(7)
#
# [1] "#FF0000FF" "#FFDB00FF" "#49FF00FF" "#00FF92FF" "#0092FFFF" "#4900FFFF"
# [7] "#FF00DBFF"
Github repository about-r, path: /functions/rainbow.R

See also

R functions for colors
Index to (some) R functions

Index