Gaussian Blur and Dim Overlay for Carousel Backgrounds

Contents
Why white text disappears on photos
If you leave the original photo untouched and just drop white title text on top, the text sinks into the background anywhere the photo is bright — a sky, a light source — because the brightness difference between the letters and the background is almost zero. And when a photo has both bright and dark areas, matching your text color to one side of the image leaves it hard to read on the other half.
The fix is to bring the photo's brightness down to an even level in the spot where the text will sit. Blur the image to cut detail and color contrast, then lay a dark, semi-transparent layer on top. That gives you a consistent contrast ratio no matter how bright the original photo was.
How to build the blur and dimmed layers yourself
Background prep comes in two steps. First, apply a Gaussian blur to the original photo, wiping out fine detail and leaving only the overall color tone. Then place a semi-transparent black layer over the blurred photo at a set ratio. For example, if you set dim opacity to 45%, the final background color is a mix of 55% blurred photo and 45% black layer.
Here's how to do it in plain CSS.
<!-- 1. CSS filter: blur() + semi-transparent overlay dimmed layer card -->
<div class="dimmed-card-wrapper">
<img src="photo.webp" alt="배경 사진" class="bg-img" />
<div class="dimmed-overlay"></div>
<div class="card-content">
<h2>PREMIUM CARD NEWS</h2>
<p>고대비 가독성을 위한 딤드 배경 처리</p>
</div>
</div>
.dimmed-card-wrapper {
position: relative;
width: 360px;
height: 360px;
border-radius: 16px;
overflow: hidden;
}
.bg-img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(10px); /* 1. Gaussian blur on the image */
transform: scale(1.1); /* Scale up to prevent white edges around the blur */
}
.dimmed-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.45); /* 2. 45% black dim filter */
}
.card-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ffffff;
text-align: center;
width: 80%;
}
If you put the blur filter straight on the image tag, the edges of the rectangle can smear white. Scale the image up by about 10% with transform: scale(1.1) and set overflow: hidden on the parent element, and the border stays crisp with no bleed around the edges. You can also swap the flat dim for a vertical gradient like linear-gradient(to bottom, rgba(15,23,42,0.2), rgba(15,23,42,0.85)) to get a more natural falloff in brightness.
Note You don't have to open an editor like Photoshop or Photopea. Upload an image, drag the sliders for blur strength and dim opacity, and you can generate a carousel background image and download it right away.
Instead of tweaking CSS values one at a time and checking the result by eye, you can adjust blur strength and dim opacity with sliders and get the result instantly — try it with our tool.
Upload an image, adjust the blur radius and dim level with the sliders, and download a carousel background that keeps your text readable.

Blur radius and dim opacity ranges
Parameter
Range
Default
What it does
Blur radius
0px ~ 50px
15px
Removes fine detail from the photo, leaving only the color tone
Dim opacity
0% ~ 100%
40%
Sets how heavy the black layer is to secure text contrast
Set the blur radius too low and photo detail survives, making the area behind your text busy. Set dim opacity too low and white text drowns again in the bright areas. Go too high on both and the photo turns into a nearly black rectangle, which defeats the point of showing the original photo at all.
The short version
- Text disappears on photos because the photo's brightness isn't uniform.
- Blur away the detail, then even out the contrast with a dim layer, and you can place crisp text on any photo.
- You can build it yourself with just CSS filter: blur() and a semi-transparent background.
- If you want to try values and see results instantly, a slider-based tool is faster.
Upload an image, adjust the blur radius and dim level with the sliders, and download a carousel background that keeps your text readable.
Frequently Asked Questions
Why do I need to dim the image at all?
If you only blur the image, white captions lose readability over bright, busy areas — a bright sky, a light fixture. Add a semi-transparent black dim layer on top and the text stays clear no matter how bright the original photo is.
How do I adjust blur strength and dim opacity?
Upload the original image you want to use as a background, then drag the blur strength slider and the dim opacity slider to set your values. Check the text preview to make sure the caption is readable enough, then download the finished background image.
Where can I use the finished background image?
Mostly for 1:1 images that need text over a photo — carousels, YouTube thumbnails, and social media banners.
This article was adapted from our Korean original. Read the Korean original