Plot hex colours

Share:

Description

Quick way to look at a set of hex colours.

Usage

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

Arguments

hex.colour

character vector specifying colours in hex form

back.col

specification of background colour of display

Value

A ggplot object

Examples

1
2
plot_hex("#000000")
plot_hex(c("#000000","#FFFFFF"))