---
title: "Available Palettes"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{Available Palettes}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
```

Install from CRAN using:
``` {r, eval = FALSE}
install.packages("PrettyCols")
```

Or install the development version using:
``` {r, eval = FALSE}
remotes::install_github("nrennie/PrettyCols")
```

Then load into R:
```{r}
library(PrettyCols)
```

## Sequential Palettes

```{r, out.width = "100%", fig.align="center"}
view_all_palettes(type = "seq")
```

## Diverging Palettes

```{r, out.width = "100%", fig.align="center"}
view_all_palettes(type = "div")
```

## Qualitative Palettes

```{r, out.width = "100%", fig.asp=2, fig.align="center"}
view_all_palettes(type = "qual")
```
