Contents

init(_:)

Creates a color object that encapsulates a SwiftUI color.

Declaration

convenience init(_ color: Color)

Parameters

  • color:

    The initial color value, which can belong to any available color space.

See Also

Creating a color from another color object