Description
The Color.Red
field represents a fully opaque pure red color. It is a static field of the Color
struct, which means it can be accessed without creating an instance of Color
. This field is useful when you need a standard red color in your application.
Usage
To use the Color.Red
field, simply reference it directly from the Color
struct. This field is read-only and provides a convenient way to access a predefined red color.
Example
// Example of using Color.Red
Color myRedColor = Color.Red;
// Use myRedColor in your application, for example, setting a material color
myMaterial.Color = myRedColor;