init(red:green:blue:)
Creates a color with the specified red, green, and blue values.
Declaration
init(red: Float, green: Float, blue: Float)Parameters
- red:
The normalized value of the red component ranging from 0 to 1.
- green:
The normalized value of the green component ranging from 0 to 1.
- blue:
The normalized value of the blue component ranging from 0 to 1.