Creates an instance of Color.
The red component (0-255).
The green component (0-255).
The blue component (0-255).
The alpha component (0-255).
StaticBlackStaticBlueStaticBrownStaticCyanStaticGrayStaticGreenStaticLimeStaticMagentaStaticOrangeStaticPinkStaticPurpleStaticRedStaticTRANSPARENTStaticWhiteStaticYellowGets the alpha component.
Sets the alpha component and updates the uint32 representation.
The new alpha component (0-255).
Gets the blue component.
Sets the blue component and updates the uint32 representation.
The new blue component (0-255).
Gets the green component.
Sets the green component and updates the uint32 representation.
The new green component (0-255).
Gets the red component.
Sets the red component and updates the uint32 representation.
The new red component (0-255).
Copies the RGBA values from another color.
The color to copy from.
Checks if the current color is equal to another color.
The color to compare with.
True if the colors are equal, otherwise false.
Sets the RGBA values of the color and updates the uint32 representation.
The red component (0-255).
The green component (0-255).
The blue component (0-255).
The alpha component (0-255).
StaticfromCreates a Color instance from a hexadecimal color string.
The hexadecimal color string, e.g., '#RRGGBB' or '#RRGGBBAA'.
A new Color instance.
Represents a color with red, green, blue, and alpha (transparency) components.