R: Palette colors included in colortools

pals {colortools} | R Documentation

## Palette colors included in colortools

### Description

This function can be used to display the palettes included in the package, or to show the color names of the specified palette

### Usage

      pals(name = NULL, bg = "white")

### Arguments

`name` | optional argument to specify the name of the palette
`bg` | background color of the plot. Used only when `name=NULL` (by default)

### Details

When no name is given, a plot window will show the different palettes. If a name is given, then the function will return the names of the colors for that palette (no plot)

### Author(s)

Gaston Sanchez

### See Also

`wheel`

### Examples

    # default use
    pals()

    # color names of palette 'terra'
    pals("terra")

    # pizza wheel for palette 'cheer'
    pizza(pals("cheer"), init.angle = 90)

    # color wheel for first color in palette 'fish'
    wheel(pals("fish")[1])

[Package colortools version 0.1.5 Index]