blues | R Documentation |
blues
is useful for getting a set of pretty blues for graphs. These
blues come from the 4th through 9th blues from grDevices::blues9, just to
give credit where it's due.
blues(ncolors, shade = "regular")
ncolors |
number of colors desired |
shade |
the shade of colors to use, which can be "regular" (default), "darker", "lighter", or "muted" (although "muted" isn't working well atm and it just making everything the same color) |
a character vector of colors
# Create a set of 10 blues.
blues(10)
# Try using scales::show_col() to visualize the colors, ex:
scales::show_col(blues(10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.