Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rjake/simplecolors

View reference docs on github pages:
https://github.com/rjake/simplecolors

Last synced: 16 days ago
JSON representation

View reference docs on github pages:

Awesome Lists containing this project

README

        

---
output:
md_document:
variant: markdown_github
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
eval = FALSE,
collapse = TRUE,
comment = "#>",
message = FALSE,
warning = FALSE,
fig.path = "man/figures/"
)
```

# simplecolors

[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/simplecolors)](https://cran.r-project.org/package=simplecolors)
[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/grand-total/simplecolors)](https://cran.r-project.org/package=simplecolors)


simplecolors is designed to generate hex codes using uniformly named colors.

## Installation
You can install the released version of `simplecolors` from [CRAN](https://cran.r-project.org/package=simplecolors) with:

```{r}
install.packages("simplecolors")
```

You can install the development version from [GitHub](https://github.com/rjake/simplecolors) with:
```{r}
devtools::install_github("rjake/simplecolors")
```

## Usage
The idea is to have a simpler way of accessing color values that is intuitive and easy to remember. Colors can be called using `sc()` or by using the various palette tools `sc_across()`, `sc_blue()`, etc. To see all available colors use `show_colors()`

The colors follow a pattern of `[saturation]` `[color name]` `[lightness]`

More details can be found in created can be found in [this vignette](articles/intro.html).




![](man/figures/color_names.png)