Skip to main content
Participant
June 10, 2025
Answered

How to Hard Fill a selection?

  • June 10, 2025
  • 2 replies
  • 604 views

Below is an example of how my selection fill works. Instead of doing a hard black fill, it does a gradient of black to white up to the selection. How do I make it fully black, and stop at the selection?


 

Correct answer Bojan Živković11378569

Sorry, that was confusing verbiage.

I created a Fixed Selection that was 100 pixels less than the canvas.
Canvas: 3300 X 2550 ----> Fixed Selection: 3200 X 2450

I centered the selection, and then Select > Inverse. That created the border that I wanted. I then used the Fill to get the black border.


Have you tried this method to create a border inside?

 

  • Create a new blank layer, just in case. Make sure that layer is selected in the Layers panel.
  • Select > All
  • Edit > Stroke, set it to Inside (in this case), 100% Opacity, enter the number of pixels in Width text field, and choose a color.

 

2 replies

davescm
Community Expert
Community Expert
June 10, 2025

Check whether your selection is inverted (which would explain the fill outside rather than inside a selection) and also check the feather settings (which would explain the gradient rather than hard edge)

Dave

Bojan Živković11378569
Community Expert
Community Expert
June 10, 2025

Can you explain the process and the steps to reproduce or understand what is happening? A screenshot of the entire window with the Layers panel expanded and visible would also be helpful.

 

Participant
June 10, 2025

Thank you for your response. I was just now able to resolve the issue myself.

I was using Select > Modify > Border to create the border. When that option was selected, the gradient was added instead of the hard fill.

I resolved the issue by creating a fixed selection that was the size of the border I was wanting (100 pixels). Then I inversed the selection to create a border. Then, I filled it. There was no more gradient.

Participant
June 10, 2025

Sorry, that was confusing verbiage.

I created a Fixed Selection that was 100 pixels less than the canvas.
Canvas: 3300 X 2550 ----> Fixed Selection: 3200 X 2450

I centered the selection, and then Select > Inverse. That created the border that I wanted. I then used the Fill to get the black border.