dh_swatch: Plot the Colour of a Short Hex Code

Description Usage Arguments Value Examples

View source: R/dehex.R

Description

Check the colour of an input hex colour code by plotting it.

Usage

1
dh_swatch(hex_code)

Arguments

hex_code

Character. A valid hex colour code starting with a hash mark (#). Characters must take the values 0 to 9 or A to F (case insensitive).

Value

A plot.

Examples

1
dh_swatch("#F14362")

matt-dray/dehex documentation built on Feb. 25, 2022, 10:23 a.m.