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

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

dh_swatch("#F14362")