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