Struct Color
sealed struct Color
RGBA color which fits the format of colors having Alpha, Red, Green and Blue Channels.
Each channel is represented as a float in the range 0.0 to 1.0.
If a channel value is less than 0.0, it is clamped to 0.0.
If a channel value is greater than 1.0, it is clamped to 1.0.
Fields
Constants
WHITE
Represents fully opaque White.Color={1.0f, 1.0f, 1.0f, 1.0f}
BLACK
Represents fully opaque Black.Color={0.0f, 0.0f, 0.0f, 1.0f}
GRAY
Represents fully opaque Gray.Color={0.5f, 0.5f, 0.5f, 1.0f}
RED
Represents fully opaque Red.Color={1.0f, 0.0f, 0.0f, 1.0f}
GREEN
Represents fully opaque Green.Color={0.0f, 1.0f, 0.0f, 1.0f}
BLUE
Represents fully opaque Blue.Color={0.0f, 0.0f, 1.0f, 1.0f}
CYAN
Represents fully opaque Cyan.Color={0.0f, 1.0f, 1.0f, 1.0f}
MAGENTA
Represents fully opaque Magenta.Color={1.0f, 0.0f, 1.0f, 1.0f}
YELLOW
Represents fully opaque Yellow.Color={1.0f, 1.0f, 0.0f, 1.0f}
TRANSPARENT
Represents fully Transparent color.Color={0.0f, 0.0f, 0.0f, 0.0f}

