Pugrad is a color gradient generator for Unity that provides a set of widely used, perceptually uniform colormaps.
Currently, Pugrad includes the following colormaps:
- Viridis, Plasma, Magma, and Inferno from the Matplotlib colormaps
- Turbo
- HSLuv (repeatable)
The Pugrad package (jp.keijiro.pugrad) can be installed via the "Keijiro"
scoped registry using Package Manager. To add the registry to your project,
please follow these instructions.
To create a colormap, select Assets > Create > Pugrad. This creates a .pugrad
file that generates a Texture2D asset procedurally.
You can change the texture resolution in the Inspector. When you use the HSLuv colormap, you can also adjust the gradient lightness.


