Turns out the binding of style to a string doesn’t work.
The solution would be to bind the background of the style.
<div class="circle" [style.background]="color">
Turns out the binding of style to a string doesn’t work.
The solution would be to bind the background of the style.
<div class="circle" [style.background]="color">