RGB
Parameters
value
An ARGB color value packed into an Int.
Creates an RGB instance from red, green, blue, and alpha components. Each value must be in the range 0 to 255 inclusive. If alpha is not provided, it defaults to 255, making the color opaque.
Parameters
red
The red component of the color.
green
The green component of the color.
blue
The blue component of the color.
alpha
The alpha component of the color. Defaults to 255 (opaque).