colorsys

Subset of CPython module colorsys for use in CircuitPython.

Conversion functions between RGB and other color systems

  • Author(s): Python Software Foundation

Implementation Notes

Software and Dependencies:

colorsys.hls_to_rgb(hue, light, sat)

Converts HLS to RGB values

colorsys.hsv_to_rgb(hue, sat, val)

Converts HSV to RGB values