tempe.colors.convert
Color conversion routines.
Module Contents
-
normalize_color(
- color: normalize_color.color,
) → tempe.colors.types.rgb565
-
rgb_sequence_to_rgb565(
- colors: Iterable[tempe.colors.types.rgb],
) → list[tempe.colors.types.rgb565]
-
rgb444_to_rgb565(
- r: int,
- g: int,
- b: int,
- big_endian: bool = True,
) → tempe.colors.types.rgb565
-
rgb24_to_rgb565(
- r: int,
- g: int,
- b: int,
- big_endian: bool = True,
) → tempe.colors.types.rgb565
-
rgb_to_rgb565(
- r: float,
- g: float,
- b: float,
- big_endian: bool = True,
) → tempe.colors.types.rgb565
-
from_str(color_str: str) → tempe.colors.types.rgb565