I have var color: String = "blue". With that variable I want to set the background color of a Button. I tried .background(Color(color)),
var color: String = "blue"
.background(Color(color))