ColorSpace
enum ColorSpace
Represents a supported color space for random color generation.
-
The gray color space.
Declaration
Swift
case gray
-
The HSB (Hue Saturation Brightness) color space.
Declaration
Swift
case hsb
-
The RGB (Red Green Blue) color space.
Declaration
Swift
case rgb
-
Returns the default color space.
Declaration
Swift
public static func `default`() -> ColorSpace
Return Value
The default color space