* Normalize received RGB colors to 100% brightness * Assert on rgb_color attribute * Use max for RGB to get brightness * Avoid division and add clamp * remove clamp Co-authored-by: Erik Montnemery <erik@montnemery.com> --------- Co-authored-by: Erik Montnemery <erik@montnemery.com> |
||
---|---|---|
.. | ||
__init__.py | ||
schema.py | ||
schema_basic.py | ||
schema_json.py | ||
schema_template.py |