This internal function stores colors for plotting. Given a color name ("green", "purple", "red", "orange", "blue", "brown", "yellow", "gray") and a darkness: "l" for light colors, "d" for dark colors and "f" for the full light/dark spectrum this function returns the corresponding ramp of colors.
get_color(
col_name = c("green", "purple", "red", "orange", "blue", "brown", "yellow", "gray"),
light_dark = c("f", "l", "d")
)
a vector of length four containing the hex colors indicated by the parameters
string color name. Must be one of "green", "purple", "red", "orange", "blue", "brown", "yellow", "gray"
character value. One of ("f", "l", "d"). "l" indicates light colors, "d" indicates dark colors, and "f" indicates colors ranging from light to dark.