- Ideally you could select the color with a tolerance level each per color attribute (hue/saturation/brightness).
- And when replacing either replace it with a particular color without any tolerance or say I want to replace it with some tolerance again each per hue/saturation/brightness.
- I searched the forum (with Google because in its current configuration forum search is still useless) and seemingly EXIF Sync offers a function with that name at least. But I did not find any "replace color" functions in the menu structure of GraphicConverter.
Example
- Let's say I have a website screenshot, and quickly want to try changing the color theme.
- Let's say we have primary buttons in purple, normal text in black, link text in dark blue and some other colors in the content.
- Let's say I want to transform the buttons to the same color as link texts.
-- GraphicConverter has a feature "Swap Colors…", but in this case it won't do the job. Instead of primary buttons and link text ending up both in dark blue, they will swap (as the name indicates), so the primary buttons will be dark blue and the link text will be purple.
-- The workaround would be to swap to an auxiliary color nowhere else in the image (i.e. magenta) and then swap from that auxiliary color to your intended color.
-- Not very convenient.
-- And also it only works for exactly one color without any tolerance. So in the case of dark blue link text, some a bit lighter shades of blue from the font-anti-aliasing will not be selected, and will remain as an ugly remainder.
I'd imagine the "Replace Color" dialog like this:
Code: Select all
SOURCE COLOR 🟪 🖋
Hue: 171° 0 .......>|<....... 359
Saturation: 60% 0 ..........>|<.... 100
Lightness: 97% 0 .............>|<. 100
Visualization aid: [ --- ▾ ]
DESTINATION COLOR 🟦 🖋
Fixed?
Hue: 35° 0 ...|............. 359 ☑️
Saturation: 60% 0 ..........|...... 100 ☑️
Lightness: 92% 0 ...............|. 100 ☑️
Fixed:
• This attribute of the replacement color gets set to exactly that value.
• If unchecked, you can set what amount (in ° or %) of this
color attribute is transferred from the source to the destination color.
[ Cancel ] [ APPLY ]
Slider at the source color
- Sets a from-to value
- Ideally has CENTRAL handle in order to move the single value plus additional FROM and TO to widen/narrow.
- If only FROM and TO handles are possible, then make sure they push each other, as a somehow convenient workaround.
Slider at the destination color:
- Is a single value
- If Fixed is unchecked the first time, then it resets to 0 (transfer nothing over!).
- Bot from then on, the values of both modes shall be remembered. So when toggling this on/off the last value of the other mode is remembered.
Visualization aid offers these choices:
- ---
- Matched pixels as red tones
- Matched pixels as grayscales
- Matched pixels opacity + nearby opens: Num-Input 0-100 plus slider
- Matched pixels saturation + nearby opens: Num-Input 0-100 plus slider
-
- Unmatched pixels as red tones
- Unmatched pixels as grayscales
- Unmatched pixels opacity + nearby opens: Num-Input 0-100 plus slider
- unmatched pixels saturation + nearby opens: Num-Input 0-100 plus slider
This visualization aid is for the the instant preview on the canvas while the dialog is open.
When clicking APPLY, the real color replacement happens, and the dialog closes.