powered by
aqi_color() returns the color that corresponds with the given AQI value.
aqi_color()
aqi_descriptor() converts the given AQI value(s) into a descriptive string.
aqi_descriptor()
aqi_color(aqi)aqi_descriptor(aqi)
aqi_descriptor(aqi)
aqi_color() returns an RGB hex string
aqi_descriptor() returns a string
An AQI value. AQI is an integer between 0 and 500, inclusive.
aqi_color(35) aqi_descriptor(35)
Run the code above in your browser using DataLab