ColorGenerator generator¶
Warning
The current page still doesn't have a translation for this language.
But you can help translating it: Contributing.
Generate color values in different formats.
Why: Use ColorGenerator for UI, catalogue, or theme fixtures that need syntactically valid color values; use a constant when brand colors are fixed requirements.
Category: core.
Output: str.
1 | |
Parameters¶
format_type:str; Defaulthex— Output representation: hexadecimal, RGB, or named color.