style.background-color

Uses fixed yellow background

ngStyle literal

Uses fixed white text on blue background

ngStyle literal and style.font-size.px

red text

ngStyle with an object

ngStyle with object property from variable

{{ color }} text

style from variable

{{ color }} background

Play with the color and font-size here