colour.plotting.plot_single_colour_swatch

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

Plots given colour swatch.

Parameters

colour_swatch (ColourSwatch) – ColourSwatch.

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>, <matplotlib.axes._subplots.AxesSubplot object at 0x...>)
plot_single_colour_swatch