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