Create changes in leaflet

Hi, I am creating a website using django leaflet. I want to create a world map and want to set colors of different regions according to my data by a region name. For this purpose, I am trying to use raster tiles, but I do not know how to do it. I am working on leaflet first time. I need some help.
Thank you in advance.

This isn’t really a Django issue - it’s primarily a leaflet / JavaScript issue. I think you’re likely to get more detailed assistance / information in a Leaflet-oriented forum. (Django is capable of serving the data that Leaflet needs - I use Django in a Leaflet-based project - but what Django serves in this case is going to depend upon what data you’re going to need in your Leaflet app.)

Thank you for your reply, I get the point.