I am displaying a poor to excellent rating and id like to color code each. I can't figure out how to use the color #203b86
. I also have this in my code displaying the colors on a grid object somewhere different.
public IEnumerable<string> colors = new string[] { "#203b86", "#7cc40a", "#009ade", "#ff5f00", "#00d8d2" };
This is the color scheme being used.
<RadzenLabel>
Poor @SurveyResults.Where(x =\> x.GetType().GetProperty(property).GetValue(x).ToString() == "Poor").Count() @colors="#203b86".ToString()
</RadzenLabel>
This is my code but its displaying @colors="#203b86".ToString()
. I only want the color.