I like to take the opportunity to ask for an easy way to replace colors as shown.
The source color is easily sampled using the color picker and sliders in the Hue/Saturation tool
but alas taking the destination color from the same or a different picture is another story.
The trial and error method using the Hue-Brightness-Saturation sliders is hopeless I think.
Any ideas ?
Replace Color - Updates
-
Sus
- Mitglied
- Beiträge: 43
- Registriert: Mo 14 Apr 2008 06:11
Re: Replace Color - Question
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
-
SCX
- Mitglied
- Beiträge: 337
- Registriert: Mi 12 Nov 2008 09:34
Re: Replace Color - Updates
Duplicate the layer and change the display mode from normal to color. Then sample the original color with the color picker, open the color dialog for the foreground color, change the mode to HSV and drag the Hueslider to the requested color. Then you can use color replace or just paint with the brush. It is easy, if just the color has to be changed. It is hard to change a dark into a light color.
-
bkh
- Beta Tester
- Beiträge: 3687
- Registriert: Do 26 Nov 2009 22:59
Re: Replace Color - Question
Add two colour posiiton markers to show the colour which you want to change and destination colour. Switch the colour position display to HIS for the two markers. Then you can adjust the H, I and S values of the source colour to match the second colour.Sus hat geschrieben:The trial and error method using the Hue-Brightness-Saturation sliders is hopeless I think.
Any ideas ?
There is one problem, though – there's a rainbow coloured transition zone between the two blues – PL insists on going from blue to blue via purple, red, yellow, green. You can see this in the colour translation display at the bottom of the Hue/Saturation dialogue. The more you change the hue, the more the red-yellow-green range will shrink, but it will never disappear. To fix this, you could just add a layer in mode colour and fix the transition (basically in the way which SCX just described). You can also pick the desired colour using the Colour Picker or just use the copy brush.
Sometimes it's useful to adjust just the brightness using the Hue/Saturation panel, and to do the actual colouring with a new layer in mode "colour" – this avoids the colour transition problem mentioned above.SCX hat geschrieben:It is hard to change a dark into a light color.
Cheers
Burkhard.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
-
erikals
- Mitglied
- Beiträge: 119
- Registriert: Fr 10 Mai 2013 15:39
-
Sus
- Mitglied
- Beiträge: 43
- Registriert: Mo 14 Apr 2008 06:11
Re: Replace Color - Updates
Thanks SCX, BKV, Erikals for the reply.
I think I found the answer using a plugin:
http://www.vicanek.de/plugins/colorreplacer.htm
I think I found the answer using a plugin:
http://www.vicanek.de/plugins/colorreplacer.htm
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
-
Martin Huber
- Entwickler

- Beiträge: 4298
- Registriert: Di 19 Nov 2002 15:49
Re: Replace Color - Question
This color gradient is already in the original image. I think, it's created by the scaling and JPEG compression of the image.bkh hat geschrieben:There is one problem, though – there's a rainbow coloured transition zone between the two blues – PL insists on going from blue to blue via purple, red, yellow, green. You can see this in the colour translation display at the bottom of the Hue/Saturation dialogue.
While equalizing the hue transition is not that hard, equalizing the saturation differences in the gradient part isn't easy, because neighbouring pixels have very similar hue values, but quite different saturations.
Martin
-
erikals
- Mitglied
- Beiträge: 119
- Registriert: Fr 10 Mai 2013 15:39
Re: Replace Color - Updates
Sus... that looks Great!... have to check that one out!... 
-
erikals
- Mitglied
- Beiträge: 119
- Registriert: Fr 10 Mai 2013 15:39
Re: Replace Color - Updates
ok, another method that helps a bit
-select color (mask mode) pick the color you want to replace
-invert mask (Shift+Alt+i)
-choose lasso
-rclick, choose "convert selection to layer"
-edit the color (Alt+F)
-select color (mask mode) pick the color you want to replace
-invert mask (Shift+Alt+i)
-choose lasso
-rclick, choose "convert selection to layer"
-edit the color (Alt+F)
-
Herbert123
- Mitglied
- Beiträge: 2452
- Registriert: Sa 12 Mai 2012 21:38
Re: Replace Color - Updates
More manual control:
1) add vector rectangle with the required colour
2) set vector layer to "color" blend mode
3) add layer mask to vector layer, and paint with black to remove colour from unwanted areas.
... Or use a layer mask based on a colour selection.
If required, add a curve adjustment to the vector layer to control the strength of the colour. Works best in Lab mode grey channel.
1) add vector rectangle with the required colour
2) set vector layer to "color" blend mode
3) add layer mask to vector layer, and paint with black to remove colour from unwanted areas.
... Or use a layer mask based on a colour selection.
If required, add a curve adjustment to the vector layer to control the strength of the colour. Works best in Lab mode grey channel.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
-
erikals
- Mitglied
- Beiträge: 119
- Registriert: Fr 10 Mai 2013 15:39
Re: Replace Color - Updates
just a small heads up, note that MV's Color Replacer only works in 32bit...
(unless i did something wrong)
http://www.vicanek.de/plugins/colorreplacer.htm
(unless i did something wrong)
http://www.vicanek.de/plugins/colorreplacer.htm