How to create a shadow border in Photoshop

This tutorial will show you how to add canvas space and drop shadows to your photos in Photoshop to create a simple yet stylish photo border. We start by creating a basic effect with a white border and black shadow. The tutorial will then show you how to customize the effect by selecting border and shadow colors directly from the photo itself.

Step 1: Open the image in Photoshop

Start by opening your photo. For this example, we'll use this photo from Adobe Stock:

How to create a shadow border in Photoshop
Original image opened in Photoshop

Step 2: Unlock the Background layer

In the Layers panel, the image appears on the Background layer. And at this point, the Background layer is locked, indicated by the lock icon to the right of the layer name:

How to create a shadow border in Photoshop
Photoshop's Layers panel shows the image on the Background layer.

To put a border around the image, we need to add a new layer below the image. But we can't do that when the Background layer is locked. So to unlock it, click on the lock icon.

Or if you're using an older version of Photoshop and clicking the lock icon doesn't work, press and hold the Alt (Win) / Option (Mac) key on your keyboard and double-click the lock icon:

How to create a shadow border in Photoshop
Unlock the Background layer.

Photoshop renames the layer from Background to Layer 0 and the lock icon disappears:

How to create a shadow border in Photoshop
The Background layer has been renamed and unlocked.

Step 3: Add a Solid Color fill layer

To create the image border, we will use the Solid Color fill layer.

Click the New Fill or Adjustment Layer icon  at the bottom of the Layers panel:

How to create a shadow border in Photoshop
Click the New Fill or Adjustment Layer icon.

And select Solid Color from the list:

How to create a shadow border in Photoshop
Add a Solid Color fill layer.

Then, in the Color Picker, select white by setting the R, G, and B values ​​to 255. We'll use white as the outline color for now and will show you how to change it later. Click OK when you're done:

How to create a shadow border in Photoshop
Choose white for the image border color from Photoshop's Color Picker

Back in the document, the white from the fill layer temporarily blocks the image from view:

How to create a shadow border in Photoshop
Result after adding Solid Color fill layer.

Step 4: Move the fill layer below the image

To fix that, click on the Solid Color fill layer in the Layers panel and drag it below the image:

How to create a shadow border in Photoshop
Drag the Solid Color fill layer below the image in Photoshop's Layers panel

Release the mouse button to drop it into place:

How to create a shadow border in Photoshop
Photoshop's Layers panel shows the Solid Color fill layer below the image.

And now, let's go back to viewing the image, with the fill layer hidden behind it:

How to create a shadow border in Photoshop
The image is displayed again in the Photoshop document.

Step 5: Open the Canvas Size dialog box

Next, we need to add more canvas space around the image. The extra space will become the border. And since we want the border to be the same size on all four sides, the best way to do this is to use Photoshop's Canvas Size command.

Go to the Image menu in the Menu Bar and select Canvas Size :

How to create a shadow border in Photoshop
Select the Canvas Size command from Photoshop's Image menu.

Step 6: Increase the width and height of the canvas

In the Canvas Size dialog box, click the Relative option . This option tells Photoshop to start with the current canvas size and the values ​​we enter for Width and Height will be added to that.

In the Anchor grid , make sure the middle box is selected so that the extra spacing will be added evenly at the top, bottom, left, and right:

Select the Relative option and the Anchor box in the middle in Photoshop's Canva Size dialog box

Next, enter a size for the border in the Width and Height fields. But remember that the values ​​you enter will be divided equally on both sides. So, for example, entering 2 inches for Width will create a 1-inch border on the left and right sides of the photo. And entering 2 inches for Height will create a 1-inch border on the top and bottom.

For the example image, a 1-inch border would be a bit too wide. A 3/4-inch border would look better. So to add a 3/4-inch border to the left and right of the image, the Width would need to be set to double that amount, which would be 1.5 inches. And to keep the border the same size everywhere, the Height would need to be set to 1.5 inches as well.

Click OK when you're done to close the Canvas Size dialog box :

How to create a shadow border in Photoshop
Enter dimensions for the image border in the Width and Height fields of the Canvas Size dialog box.

Photoshop adds additional canvas space around the image, creating a border for the image. Although the additional space is actually transparent, it appears white because the Solid Color fill layer below the image is showing through:

How to create a shadow border in Photoshop
Image border appears after adding canvas space in Photoshop

How to adjust image borders on screen

If the border is too large to fit the screen, go to the View menu in the Menu Bar and select Fit on Screen :

How to create a shadow border in Photoshop
Select the Fit on Screen command from Photoshop's View menu.

How to change border size

The downside to Photoshop's Canvas Size command is that there's no way to preview the new size before committing to it. So if the border is too wide or too narrow, go to the Edit menu and choose Undo Canvas Size :

How to create a shadow border in Photoshop
Select the Undo Canvas Size command from Photoshop's Edit menu.

Then go back to the Image menu , go back to Canvas Size , try again with different Width and Height values :

How to create a shadow border in Photoshop
Reselect the Canvas Size command from Photoshop's Image menu

Step 7: Select the image layer

We've added a border, now we need to add a drop shadow. In the Layers panel, click on the image layer to select it:

How to create a shadow border in Photoshop
Select the image layer in Photoshop's Layers panel

Step 8: Add a drop shadow effect

Then click on the fx icon at the bottom:

How to create a shadow border in Photoshop
Click the layer effects icon in Photoshop's Layers panel

And select Drop Shadow from the list:

How to create a shadow border in Photoshop

Step 9: Adjust Drop Shadow settings

The options for Drop Shadow open in Photoshop's Layer Style dialog box. And the three main options are Angle, Distance , and Size . Angle controls the direction of the light source, Distance is how far the shadow extends from the subject, and Size controls the softness of the shadow edges:

How to create a shadow border in Photoshop
Angle, Distance, and Size options for Drop Shadow in Photoshop's Layer Style dialog box

Angle and Distance options

The quickest way to set the Angle and Distance of a drop shadow is to simply click inside the document, hold down the mouse button, and drag the drop shadow to position it. As you drag, the Angle and Distance values ​​in the dialog box will change.

Here, the example is dragging the shadow down and to the right:

How to create a shadow border in Photoshop
Drag the shadow to set the Angle and Distance.

Or you can enter specific Angle and Distance values. The example will set the Angle to 135 degrees and the Distance to 80 px. The values ​​you need, especially Distance and Size, will depend on your image:

How to create a shadow border in Photoshop
Enter the Angle and Distance values ​​in the dialog box.

Here are the results so far:

How to create a shadow border in Photoshop
Result after setting Angle and Distance of the shadow.

Size Options

Then increase the Size value to soften the shadow edges. The example will set the value to 60 px, but again this will depend on your image:

How to create a shadow border in Photoshop
Set the Size value for the Drop Shadow.

And here is the result with the edges now softer:

How to create a shadow border in Photoshop
The result after increasing the Drop Shadow Size value to soften the edges.

Opacity option

You can also adjust the strength of the shadow using the Opacity slider. Higher Opacity values ​​will darken the shadow, and lower values ​​will lighten the shadow. For example, lowering the value to 30% would be:

How to create a shadow border in Photoshop
Brighten the shadow by lowering the Opacity value.

When you're happy with the results, click OK to close the Layer Style dialog box :

How to create a shadow border in Photoshop
Close Photoshop's Layer Style dialog box.

And here is the result after lowering the shadow opacity:

How to create a shadow border in Photoshop
Original shadow border effect.

How to customize border color and shadow

At this point, the main effect is complete. We've added a border around the image and a drop shadow behind it. But instead of using a white border and black drop shadow, we can customize the effect by picking a color directly from the image. Here's how to do it.

Step 10: Double click on the fill layer color swatch

To change the border color, double-click the fill layer's color swatch in the Layers panel:

How to create a shadow border in Photoshop
Double-click the color swatch of the Solid Color fill layer.

Step 11: Sample new border color from image

This will reopen the Color Picker. But instead of selecting a new color from the Color Picker itself, hover your mouse over the image and click on a color to sample it.

The example would be clicking on the woman's shoulder:

How to create a shadow border in Photoshop
Sample border color from image.

The color you sampled immediately becomes the new outline color. You can continue clicking different areas of the image to find the best match. When you're done, click OK to close the Color Picker.

Here is the result with the border set to the new color:

How to create a shadow border in Photoshop
Results with custom photo border color in Photoshop.

Step 12: Reopen Drop Shadow settings

Then, to choose a new color for the shadow, double-click the Drop Shadow layer effect below the image layer:

How to create a shadow border in Photoshop
Reopen the Drop Shadow layer effect in Photoshop's Layers panel

And in the Layer Style dialog box , click the shadow color swatch:

How to create a shadow border in Photoshop
Click the Drop Shadow color swatch in Photoshop's Layer Style dialog box

Step 13: Sample new shadow color from image

Once the Color Picker opens, hover your mouse over the image and click on a color to sample. For example, we'll click on the woman's shoulder again:

How to create a shadow border in Photoshop
Samples a color from an image to use as the Drop Shadow color.

Step 14: Adjust the brightness and saturation of the color

The shadow color needs to be dark and highly saturated. So before closing the Color Picker, increase the Saturation (S) value of the color to 100% or close to that number.

Then darken the color by reducing the Brightness (B) value of the color. For example, we'll reduce the value to 30% so the shadow doesn't look too dark, but you may want to darken it even more depending on your image:

How to create a shadow border in Photoshop
Increases the saturation and decreases the brightness of the sampled color.

Click OK to close the Color Picker and you're done! Here's the final result using the custom border and new color for the shadow:

How to create a shadow border in Photoshop
Image borders and shadows use custom colors from the image.

Video tutorial on how to create a shadow border in Photoshop

Sign up and earn $1000 a day ⋙

Leave a Comment

How to Create a Monochrome Color Effect in Photoshop

How to Create a Monochrome Color Effect in Photoshop

This tutorial will show you a quick and easy way to add a monochrome color effect to an image using Adobe Photoshop.

Why is Lens Blur a Photoshop tool used for artistic photo editing?

Why is Lens Blur a Photoshop tool used for artistic photo editing?

Adobe's Lens Blur tool makes it easy to review your photos, adding depth and focus to your photos.

Not AI, Actions is the Photoshop feature that users love

Not AI, Actions is the Photoshop feature that users love

Hidden away in the app, Photoshop Actions is a beloved feature of the popular photo editing tool, meant to speed up workflows without the need for AI.

Why is using both Lightroom and Photoshop overkill for most photographers?

Why is using both Lightroom and Photoshop overkill for most photographers?

Lightroom and Adobe Photoshop are two of the best photo editing tools, but while many professionals use both together, you only need Lightroom if you're an amateur photographer.

How to create Picture in Picture effect in Photoshop

How to create Picture in Picture effect in Photoshop

This tutorial will show you how to create a cool Picture in Picture effect with Adobe Photoshop by taking a single photo and creating the illusion that a smaller, cropped version of the same photo is inside it.

5 Reasons Why Photoshops Generative Workspace Is Adobes Best Feature

5 Reasons Why Photoshops Generative Workspace Is Adobes Best Feature

Generative Workspace is one of the top AI features announced at Adobe Max 2024. It will be the new home for your Generative AI images and files.

How to Create a Water Reflection Effect Using Generative Fill in Photoshop

How to Create a Water Reflection Effect Using Generative Fill in Photoshop

With Generative Fill, powered by Adobe's Generative AI called Firefly, anyone can add realistic water reflection effects to their photos simply by drawing a selection, typing a few words, and clicking a button.

How to Paste an Image into a Selection in Photoshop

How to Paste an Image into a Selection in Photoshop

This tutorial will show you how to copy an image and paste it into a selection in another image using the Paste Into command in Adobe Photoshop.

How to Convert to High Contrast Black and White Photos Instantly in Photoshop

How to Convert to High Contrast Black and White Photos Instantly in Photoshop

This tutorial will show you how to instantly convert a high contrast black and white photo in Photoshop using Gradient Map.

How to blur an image to a background color in Photoshop quickly with Live Gradients

How to blur an image to a background color in Photoshop quickly with Live Gradients

In this tutorial, we will look at the newest and easiest way to fade an image to a background color in Photoshop, which is using Live Gradients.

Reasons to use the Font browser feature in Photoshop

Reasons to use the Font browser feature in Photoshop

Font indecision is real. Help is just a few clicks away, because Adobe has a time-saving feature built into Photoshop. It's called the Font Browser!

Why is Photoshop more valuable than Canva Pro for creators?

Why is Photoshop more valuable than Canva Pro for creators?

Canva's simplicity makes it a popular tool. Photoshop, on the other hand, is not for the faint of heart - it has many features and takes time to learn.

Photoshops New AI Tool Makes It Easy to Remove Window Glare

Photoshops New AI Tool Makes It Easy to Remove Window Glare

Adobe has unveiled a new AI tool that can remove annoying reflections from your photos.

How to Create a Vintage 3D Movie Effect in Photoshop

How to Create a Vintage 3D Movie Effect in Photoshop

Recreate the look of classic 3D movies from the 1950s with this quick and easy Photoshop effect!

Why are horizontal tabs better than vertical tabs in browsers?

Why are horizontal tabs better than vertical tabs in browsers?

Vertical tabs are one of the most popular browser design trends, but not all new things are good. After trying vertical tabs in every browser imaginable, many people still stick with horizontal tabs.

Latest Legends of Speed ​​Codes and How to Enter Codes

Latest Legends of Speed ​​Codes and How to Enter Codes

Legends of Speed ​​codes are usually long-lasting. However, in some cases, they will have limitations such as entry limits or code time limits.

All the latest Loạn Dầu Chiến Binh giftcodes and instructions for redeeming codes

All the latest Loạn Dầu Chiến Binh giftcodes and instructions for redeeming codes

The Loạn Dầu Manga game code gives players general spins, diamonds, silver, gold, reward chests, valuable items...

Notepad is about to support automatic note summarization using AI

Notepad is about to support automatic note summarization using AI

This new feature is part of Notepad version 11.2501.29.0 update.

3 reasons why people keep using Netflix, despite its high subscription price

3 reasons why people keep using Netflix, despite its high subscription price

Netflix has raised its prices again and is now more expensive than ever. But many people don't plan on canceling their subscriptions anytime soon - here's why.

How to Create a Monochrome Color Effect in Photoshop

How to Create a Monochrome Color Effect in Photoshop

This tutorial will show you a quick and easy way to add a monochrome color effect to an image using Adobe Photoshop.

How to create a shadow border in Photoshop

How to create a shadow border in Photoshop

This tutorial will show you how to add canvas space and drop shadow to your photo in Photoshop to create a simple yet stylish photo border.

Advertising is making people use social media less

Advertising is making people use social media less

Ads are everywhere on social media, including between videos and short social media posts. And it’s these ubiquitous ads that are driving people away from social media platforms.

Configure Honkai Star Rail on your phone

Configure Honkai Star Rail on your phone

With the configuration of Honkai Star Rail on the phone, you will need to prepare a mid-range smartphone to be able to experience Honkai Star Rail on iOS and Android smoothly.

Latest Funtap Goddess Legend Code

Latest Funtap Goddess Legend Code

Let's explore the full set of giftcodes for Legend of Goddess - the game that has just been released.

Video: Close-up of the terrifying power of a super rocket that fired 100 arrows at once in the 15th century

Video: Close-up of the terrifying power of a super rocket that fired 100 arrows at once in the 15th century

What is Hwacha? This article will reveal to you what the Hwacha machine has that makes the Japanese army so afraid.

Close-up of the transformation process of the human body after death

Close-up of the transformation process of the human body after death

What are the stages after death? This article will reveal to you the process of body decomposition.

What is PAI on Mi Band 5? How to use PAI?

What is PAI on Mi Band 5? How to use PAI?

Since Mi Band 5, Xiaomi has added a PAI body index measurement feature. So what is this index? How to use it?

Latest Will of Hashira Code

Latest Will of Hashira Code

Code Will of Hashira is for those who are new to the game to get rewards, including money, gems, character summon tickets, hero experience...

The incompatibility of the systems in Pokemon GO

The incompatibility of the systems in Pokemon GO

When playing Pokemon Go, players need to pay attention to the problem of the conflicting systems to ensure their victory when fighting other Pokemon. This article will provide you with the full conflicting systems of different Pokemon, helping you ensure victory.