ColorConverter – Converts one color format to another

Converts one color format to another.

class displayio.ColorConverter(*, dither=False)

Create a ColorConverter object to convert color formats. Only supports RGB888 to RGB565 currently. :param bool dither: Adds random noise to dither the output image


Converts the given RGB888 color to RGB565


When true the color converter dithers the output by adding random noise when truncating to display bitdepth