Pydantic · Type Alias
Color
Color validates CSS3 color values and stores them as a color object. It accepts names, hexadecimal values, RGB/RGBA text, and transparent, then supports common color conversions.
Last updated
Syntax
class ColorIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RGBAColorTupleHslColorTupleparse_strparse_tupleas_namedas_hexas_rgb