colour.plotting.plot_single_colour_swatch

colour.plotting.plot_single_colour_swatch(colour_swatch, **kwargs)[source]

Plots given colour swatch.

Parameters

colour_swatch (array_like or ColourSwatch) – Colour swatch, either a regular array_like or a colour.plotting.ColourSwatch class instance.

Other Parameters
Returns

Current figure and axes.

Return type

tuple

Examples

>>> RGB = ColourSwatch(RGB=(0.45620519, 0.03081071, 0.04091952))
>>> plot_single_colour_swatch(RGB)  
(<Figure size ... with 1 Axes>, <...AxesSubplot...>)
plot_single_colour_swatch