As for Angular to make each block with a different color to the data were taken from the database?

Good evening, there is such code:

<div class="conteiner" *ngfor="let item of testTags">
 <div class="header">{{item.Name}}</div>
 <div class="description"></div>

These containers can be any number, and most importantly , the user adjusts the background and text color of each of the unit itself ie the color picker can any and all stored in a database.
For all three DIVS need to podgruzhat data with colors.
As I understand you can do this through [ngStyle], but can not how to implement it:)
June 5th 19 at 21:47
1 answer
June 5th 19 at 21:49
Everything is fine, thank you very much) I with an array of crooked idiots did:) - iliana.Von78 commented on June 5th 19 at 21:52

Find more questions by tags Angular