-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
51 lines (39 loc) · 1.75 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
output:
md_document:
variant: markdown_github
---
<!-- -*- coding: utf-8 -*- -->
<!-- README.md is generated from README.Rmd. Do not edit this file directly -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
eval = FALSE,
collapse = TRUE,
comment = "#>",
message = FALSE,
warning = FALSE,
fig.path = "man/figures/"
)
```
# simplecolors <img src="man/figures/logo.png" align="right" alt="" width="120" />
<!-- [![Codecov test coverage](https://codecov.io/gh/rjake/simplecolors/branch/master/graph/badge.svg)](https://codecov.io/gh/rjake/simplecolors?branch=master)-->
<!-- badges: start -->
[![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)
<!-- badges: end -->
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).
<br><br>
![](man/figures/color_names.png)