swift uifont color code example
Example 1: swiftui font color
Text("The best laid plans")
.foregroundColor(Color.red)
Example 2: swift set uicolor
let swiftColor = UIColor(red: 1, green: 165/255, blue: 0, alpha: 1)
Text("The best laid plans")
.foregroundColor(Color.red)
let swiftColor = UIColor(red: 1, green: 165/255, blue: 0, alpha: 1)