Tutorial
API Documentation
import random from colour import Color as LibColor [docs]class Color(LibColor): [docs] def to_definition(self): return f'Color("{self.get_hex()}")' [docs]def random_color_hex() -> str: return Color(pick_for=random.randint(1, 1000000)).get_hex()