# Example using HCL colors
from colorspace import HCL, hexcols
= HCL(H = [220, 196, 172, 148, 125],
cols = [ 44, 49, 55, 59, 50],
C = [ 49, 61, 72, 82, 90])
L = (8, 2)) cols.swatchplot(figsize
Palette Swatch Plot
Description
Visualization the color palette of this color object. Internally calls swatchplot, additional arguments to this main function can be forwarded via the **kwargs
argument.
Usage
RGB.swatchplot(**kwargs)
Arguments
-
**kwargs
- Additional named arguments forwarded to swatchplot.
Examples
# Example using hex colors
= hexcols(["#0FCFC0", "#9CDED6", "#D5EAE7",
cols "#F1F1F1", "#F3E1EB", "#F6C4E1", "#F79CD4"])
= (8, 3.5)); cols.swatchplot(figsize