

MagicaVoxel exports it's palettes with color profiles embedded in the png. Note that every pixel in the png will become a color in the Swatch. You can import a palette from a png by right clicking in your Project Window and going to Swatchr -> Import Swatch From Texture (Browse.). Now that swatch is available in Unity's default color picker. Select the name of the Swatch you just exported. Now go to the Unity Color Picker and click the dropdown to the top right of the color grid. You can move that file, but it has to be in a folder path with Editor/ in it. colors extension, and place it in an Editor/ folder. Hit the Export To Color Picker Presets button. Right click in the Project Window and go to Swatchr -> Import ASE File (Browse.). Click on the color next to the selected color to use Unitys color picker to pick a color. Add colors to it by clicking the + button. asset file to view it's Editor UI in the Inspector.

Import swatches from MagicaVoxel's palette export (See Note).Color palettes stored as scriptable objects in your project and repository.Swatchr can be easily extended to custom components by implementing the SwatchrColorApplier interface. Swatches can be exported to Unity's built in color picker system. Swatches can be replaced and updated at runtime, and the changes will propagate. Renderers, particle systems, cameras and shaders can then reference colors as keys into swatches.

Swatchr allows Unity developers to store color palettes inside scriptable objects in their projects.
