How to change template tile value color based on DataStream value on Blynk Mobile APP? Any one can help?

I have tried this code but only successful change the color on the widget value but not on template tile value, anybody can help? here is the code “Blynk.virtualWrite(V4, aqi); // Send AQI value to virtual pin V4
// Set gauge color based on AQI
if (aqi >= 0 && aqi <= 50) {
Blynk.setProperty(V4, “color”, “#00FF00”); // Green
} else if (aqi > 50 && aqi <= 100) {
Blynk.setProperty(V4, “color”, “#FFFF00”); // Yellow
} else if (aqi > 100 && aqi <= 150) {
Blynk.setProperty(V4, “color”, “#FFA500”); // Orange
} else if (aqi > 150 && aqi <= 200) {
Blynk.setProperty(V4, “color”, “#FF0000”); // Red
} else {
Blynk.setProperty(V4, “color”, “#800080”); // Purple
}”