Color
public extension Color
-
Creates a Color from a hex string (e.g. “#FF6B35” or “FF6B35”). Returns nil if the string is not a valid 6-character hex color.
Declaration
Swift
init?(hex: String)
View on GitHub
Install in Dash