This tutorial walks you through creating and applying a custom color theme to the Mapbox Standard style in Studio. By the end, you’ll have transformed the look and feel of your map style using a “Look-up Table” (LUT) created in Photoshop or a similar graphic editor.
A LUT is an image file that maps color adjustments to specific values, allowing you to change the colors and tones of your map. By editing the LUT, you can create a unique color theme for your map style.
Note that the color theme will apply to the entirety of the map like a filter, including under different light presets. Think of this as an efficient way to adjust the entire map’s look and feel, as opposed to modifying the colors of individual layers or features.
You’ll need the following to complete this tutorial:
neutral.png
file using the button below. This file serves as the default LUT.These screenshots will serve as the basis for applying adjustments in a graphic editor.
Now, you’ll work in a graphic editor to experiment with different adjustment layers on top of your screenshots to see how those modifications affect the map.
Here are some examples of adjustments you could try:
neutral.png
LUTNext, check that your data has loaded correctly by following these steps:
neutral.png
file in your graphic editor.If you haven't already, download neutral.png
by clicking the download button:
custom-theme.png
.Let's return to Mapbox Studio in the browser.
custom-theme.png
LUT fileWhen you have finished editing your new map style, you will publish your changes, so you can use them with other mapbox products, such as Mapbox GL JS, the Mapbox Mobile SDKs, etc.
Take a look at the Publish style section of the Mapbox Studio Manual to find out more information about publishing with Mapbox Studio.
Congratulations, you’ve applied a custom color theme! Experiment with additional adjustments to create unique map designs and refine your style.
You might also be interested in: