An Angular directive that converts the given datasource to a pastel color and applies it to a  given style attribute