Learn R Programming

munsell (version 0.5.1)

plot_hex: Plot hex colours

Description

Quick way to look at a set of hex colours.

Usage

plot_hex(hex.colour, back.col = "white")

Value

A ggplot object

Arguments

hex.colour

character vector specifying colours in hex form

back.col

specification of background colour of display

Examples

Run this code
plot_hex("#000000")
plot_hex(c("#000000","#FFFFFF"))

Run the code above in your browser using DataLab