A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://proplot.readthedocs.io/en/latest/api/proplot.utils.set_saturation.html below:

set_saturation — ProPlot documentation

ProPlot set_saturation
set_saturation(color, saturation, space='hcl')[source]

Return a color with a different saturation and the same hue and luminance as the input color.

Parameters
  • color (color-spec) – The color. Sanitized with to_rgba.

  • saturation (float, optional) – The new saturation. Should lie between 0 and 360 degrees.

  • space ({'hcl', 'hpl', 'hsl', 'hsv'}, optional) – The hue-saturation-luminance-like colorspace used to transform the color. Default is the strictly perceptually uniform colorspace 'hcl'.

Returns

color (str) – An 8-digit HEX string indicating the red, green, blue, and alpha channel values.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4