I\'m trying to plot radar data in folium, and I\'m almost there. I followed this example (Contour plot data (lat,lon,value) within boundaries and export GeoJSON) to get my data
I don't yet have enough reputation points to comment, so this is a separate answer to clarify the accepted answer written by edub.
Matplotlib has the colors.to_hex() method already:
import matplotlib.colors as cl
colors = [cl.to_hex(c) for c in colors]
This would replace the convert_to_hex() method in the accepted answer.