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

Classes

class  ColorMode
 
class  Conversion
 
class  Color
 

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 457 of file color.py.

◆ color_to_hex()

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

Definition at line 452 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.