python-lottie  0.6.11+devc144cca
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.color Namespace Reference

Classes

class  Color
 
class  ColorMode
 
class  Conversion
 

Functions

def from_uint8 (r, g, b, a=255)
 
def color_to_hex (Color color)
 
def color_from_hex (str hex)
 

Function Documentation

◆ color_from_hex()

def lottie.utils.color.color_from_hex ( str  hex)

Definition at line 455 of file color.py.

◆ color_to_hex()

def lottie.utils.color.color_to_hex ( Color  color)

Definition at line 450 of file color.py.

◆ from_uint8()

def lottie.utils.color.from_uint8 (   r,
  g,
  b,
  a = 255 
)

Definition at line 7 of file color.py.