Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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:
- Host: GitHub
- URL: https://github.com/rjake/simplecolors
- Owner: rjake
- License: gpl-3.0
- Created: 2019-04-10T16:10:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T03:58:22.000Z (about 1 year ago)
- Last Synced: 2024-10-28T17:25:22.285Z (about 1 month ago)
- Language: R
- Homepage: https://rjake.github.io/simplecolors/
- Size: 5.37 MB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - rjake/simplecolors - View reference docs on github pages: (R)
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)