Color Palette Switcher
Feature Showcase
This screenshot uses a monochromatic color palette in color mode 0 (closest luminance):

This image utilizes a polychromatic color palette in color mode 1 (closest color):

Project Overview
This resource pack enables you to configure any color palette for use in Minecraft. Each palette can contain up to 32 colors, with potential expansions in future updates. While Respackopts mod is recommended for easier configuration, the setup process is straightforward without it. Detailed instructions for both usage methods are provided below.
The development was inspired by Acerola's video about color theory in games. Technically, this pack doesn't rely on LUT tables but instead performs real-time color selection using two distinct color modes.
Basic Usage (Without Respackopts)
Install and activate the pack using the standard procedure. By default, the "Starry" palette with dither mode 2 will be applied.
To configure, open the resource pack folder and navigate to assets/minecraft/textures/effect - here you'll find default palettes and can add your own. Palette sizes can range from 1x1 to 32x1 pixels. Numerous pre-made palettes are available on Lospec - select the PNG Image (1x) format.
After importing your desired palette, you need to activate it. Return to the resource pack's root folder. For version 1.21.2+, open (your version)/assets/minecraft/post_effect/transparency.json, and for 1.21.1-, use 1_20_5-1_21_1/assets/minecraft/shaders/post/transparency.json. Use search (Ctrl+F) to find "starry" and replace it with your palette's name (without spaces, using underscores). Save the file and reload game resources with Ctrl+F.
If the result appears incorrect, check settings in file assets/minecraft/shaders/include/config.glsl. For monochrome palettes set COLOR_MODE to 0, for colored ones - 1. If needed, experiment with the OKLAB_COMPARISONS parameter.
Simplified Configuration (With Respackopts)
This method is suitable for users with Respackopts mod installed.
Ensure the resource pack is correctly installed (the game should display pinkish tones). In the Respackopts interface, select the "Presets" section to choose pre-configured palettes, including those shown in the project gallery.
To load a custom palette, prepare a PNG image sized between 1x1 and 32x1 pixels without special characters in the filename (replace spaces with underscores). Ready-made palettes can be found on Lospec. Place the file in the resource pack's assets/minecraft/textures/effect folder, then specify its name in Respackopts settings.
Troubleshooting
If the resource pack doesn't appear in the list, use "Folder View" mode to manually search for "Palette Switcher".
If changes don't appear after configuration, reload resources with F3+T or install Shader Reload mod (for versions up to 1.21.5) or SUMR (from 1.21.6 onward), enabling shader reloading via F3+R.