Skip to main content
Participating Frequently
September 21, 2020
Question

Default color switch automaticaly

  • September 21, 2020
  • 1 reply
  • 1105 views

Hello everyone,

 

I'm quite new to photoshop, and I have a problem I can't solve.

 

When I'm using mask, I'm sometimes confused because Photoshop switch my brush color from black to white whitout notice. Of course, it reverse the logic of my mask painting, and nothing work proprely until I fix it. It can be very frustrating to me, depending when it happens.

 

Up to now, my investigations lead me to no solution. I suspected this happens when I use the "D" key to get default color, and I wrote a script to  set default colors my way, but it doesn't work. 

 

How could I tell photoshop I want black to stay black, and not switching to white "magicaly" ?

 

Thanks

This topic has been closed for replies.

1 reply

c.pfaffenbichler
Community Expert
September 21, 2020

Resetting Fore- and Background Color in the Composite image has no effect on the colors when you »enter« the Layer Mask/Alpha Channel.  

 

But please explain your procedure and post meaningful screenshots including teh pertinent Panels. 

Participating Frequently
September 21, 2020

Well, I didn't make myself clear enought. My bad.

 

My procedure is simple. Let's say I stroke a path on a layer. For this, I use a hard black brush, size 10. Then I want to soften the result a litle here and there. Thus I get a lighter brush in my presets, I click on the mask of the layer, and I soften the zone I want. I do this again and again.

 

Problem, sometimes my brush color switch from black to white when I click on the mask. Sometimes yes, sometimes no. Usualy, no. I don't know why...

 

Of course, I should be more carefull... but it end up I missed the switch. This happens often, and I want to solve it definitly. The perfect solution would be something that block this magical and unwanted color switch when I click on a mask.

 

Here is a screenshot of my controls...

 

The brush is black. But if I click on the mask, sometimes it switch to white. I think this is have something to do with the default color switching from black/white to white/black when I click on a mask.

 

Here is a screenshot of the color tool control when I clicked on a mask.

 

In this specific case, I have been lucky, black stay black. But sometimes, it reverse the colors. Like it have reversed the default tool icon. Unfortunatly, I do not realy know why and when it happens...


Thank you for your help

 

c.pfaffenbichler
Community Expert
September 21, 2020

The screenshots seem cropped too much. 

 

That you have black selected as Foreground Color in the composite image has no bearing on the Foregound Color once you switch to the Layer Mask; those two are essentially independent of each other. 

 

I suppose it might be possible to link a Script (that sets the alpha channel Foreground Color to black) to the selection of a Layer Mask via Script Events Manager, but I don’t think this would be sensible.