font color ns attribute swift code example Example: swiftui font color Text("The best laid plans") .foregroundColor(Color.red)