Color

A color representation in different formats.

  • Color()
  • Color(r: int, g: int, b: int, a: int = 255)

Properties


NameDescriptionType
rThe red component of the colorint
gThe green component of the colorint
bThe blue component of the colorint
aThe alpha component of the colorint
hexThe hexadecimal representation of the colorstr
hsvThe HSV representation of the colortuple[float,float,float,float]