colour.plotting.plot_single_colour_swatch#

colour.plotting.plot_single_colour_swatch(colour_swatch: Union[ArrayLike, ColourSwatch], **kwargs: Any) Tuple[Figure, Axes][source]#

Plot given colour swatch.

Parameters:
Returns:

Current figure and axes.

Return type:

tuple

Examples

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