name property

name property

Gets the name of this color.
For a named color (a named constant such as Color.red, or a color created with from_name) the .NET name is returned, e.g. "Red" or "LightBlue".
For any other color the ARGB value is returned as lowercase hexadecimal without zero padding, e.g. "ffff0000". Color.empty.name is "0". Read-only str.

Definition:

@property
def name(self):
    ...

See Also