README.md

seecolor

CRAN_Status_Badge Build Status R build status lifecycle Codecov test coverage

Overview

When you select color literals, a palette, or a ggplot2 object, the colors used there will be output in the console.

Installation

# install from CRAN
install.packages("seecolor")

# install from GitHub:
devtools::install_github("lovestat/seecolor")

Usage

# Highlight objects by cursor to show the contained colors
pick_color()

# Change output styles, "ribbon" or "mosaic"
pick_color(type = "r")

# Change the length of the color blocks
pick_color(blank.len = 1)

# Print colors contained in literal, palette and ggplot objects
print_color(colors(), type = "m", blank.len = 1)

# Open the pre-defined test file
open_sample()

Show the palette colors!



Try the seecolor package in your browser

Any scripts or data that you put into this service are public.

seecolor documentation built on Dec. 8, 2020, 1:07 a.m.