A Photoshop UXP plugin for advanced channel mixing and color transformation. Create complex color swaps easily, locally.
The photo has been copied and layer-mask added manually to show a before -> after comparison in one image.
- Create and manage color pairs for transformation
- Compute optimal channel mixing matrix
- Apply results directly to Photoshop Channel Mixer
- Prevent clipping, if desired
- Download the latest
.ccxrelease from Releases.
- Open the Creative Cloud Desktop app
- Go to Plugins > Manage Plugins > Install from file
- Select the downloaded
SmartChannelSwapper_PS.ccxfile - Alternatively, double-click the
.ccxfile to install
- Open Photoshop
- Go to Plugins > Smart Channel Swapper
- Add color pairs (source and target colors)
- Click Apply to compute and apply the channel mixing
- View results and tweak settings as needed
Photoshop's Channel Mixer transforms colors by mixing the Red, Green, and Blue channels with adjustable percentages. Because achieving specific goals with that is hard most Channel Mixes are simple channel swaps.
This plugin lets you choose a Starting point and a target, using least squares optimization to automatically calculate the best Channel Mixer settings to get there. The ease of use makes more complex Channel Mixes viable, not just a matter of experimentation.
Photoshop's Channel Mixer uses a simple equation:
input color × matrix = output color
Normal usage (manual sliders):
- You have the input (image pixels)
- You set the matrix (slider values)
- Photoshop calculates the output (transformed pixels)
What this plugin does:
- You provide input AND output (your source → target color pairs)
- The plugin solves for the matrix (the slider values that make input → output work)
- Photoshop then applies that matrix to the actual image
Same equation—just solving for a different unknown. You give both ends (before and after colors), and the plugin figures out the middle part (the mixer settings) using least squares optimization.
- One pair gives an exact transformation for that color, but may distort other colors unpredictably.
- Multiple pairs (2–4) constrain the solution, finding a better compromise that transforms your target colors while minimizing damage to the rest of the image.
Because this is a linear least squares problem, the solution is always the mathematically best possible fit—there are no "local traps" or suboptimal results.
Your results are only as good as your source and your target. Some changes mess a lot with other parts of the image, others don't. So experiment. Adjust the colors a little. Add a few more targets, remove a weird one. Experimentation is fast with this tool and it's non-destructive.
MIT License
(C) 2026 Josef Brockamp (IG @workinprogress.photo)