Return function to interpolate a nmfs color palette

nmfs_palette(palette = "oceans", reverse = FALSE, ...)

Arguments

palette

Character name of palette in nmfs_palettes

reverse

Boolean indicating whether the palette should be reversed

...

Additional arguments to pass to colorRampPalette()

Examples

nmfs_palette("oceans")(10)
#>  [1] "#A6D4EC" "#78BEE2" "#4AA8D9" "#1C92CF" "#0072BB" "#004295" "#002B7B"
#>  [8] "#002467" "#001D55" "#001743"