# Retrieve one of the built-in color palettes

R · 2.1.0

[Source](<https://github.com/jolars/qualpalr/blob/7fd73fd3b3ee455008662f41db71da21244bc5d7/R/get_palette.R>)

```r
get_palette(palette = "ColorBrewer:Accent")
```

<a id="retrieve-one-of-the-built-in-color-palettes"></a>

## Retrieve one of the built-in color palettes

This function retrieves a color palette from the built-in palettes. To
see the available palettes, use [`list_palettes()`](<list_palettes>).


<a id="usage"></a>

## Usage

```r
get_palette(palette = "ColorBrewer:Accent")
```

<a id="arguments"></a>

## Arguments

`palette`

A character string specifying the name of the color palette to

<a id="value"></a>

## Value

A character vector of colors in hex format.


<a id="examples"></a>

## Examples

```r
get_palette("Vermeer:LittleStreet")
```

```text
 [1] "#9D3D2D" "#99A8A5" "#8F4C2D" "#6A6A54" "#EADAC5" "#27221F" "#727C73"
 [8] "#C9AA82" "#3A2D22" "#8F5144" "#C9BDA3"
```

<a id="see-also"></a>

## See also

[`list_palettes()`](<list_palettes>)
