Contents

init(red:green:blue:alpha:)

Returns a new color structure with the specified red, green, blue, and alpha values.

Declaration

init(red: Double, green: Double, blue: Double, alpha: Double)

Parameters

  • red:

    The red color channel.

  • green:

    The green color channel.

  • blue:

    The blue color channel.

  • alpha:

    The alpha channel.