Why Text Overlaid on a Photo Almost Always Needs an Outline
Published 2026-09-14
A photo's background isn't one flat color
Text placed directly on a solid-color background just needs one contrasting color to stay readable — white text on a dark background, or black text on a light one. A photo is a much harder surface to design for, because its background varies continuously across the image: a caption placed near the bottom of a photo might sit over bright sky in one area and dark shadow a few pixels away.
Why a single text color eventually fails
Choosing pure white text solves the problem over dark parts of a photo but makes the text nearly invisible the moment it crosses over a bright cloud, a white shirt, or any other light-colored region. The reverse is true for black text against dark regions. Since a caption's background is rarely uniform, no single flat text color can guarantee readability everywhere it might land.
The fix: a contrasting outline (stroke)
The standard solution used in captions, subtitles and memes is to draw a thin outline in the opposite tone — typically a dark, semi-transparent stroke around light text — before filling in the main text color. That outline guarantees at least one strongly contrasting edge around every letter regardless of what's directly behind it, which is why captioned images stay legible over almost any background.
Try it yourself
Our Add Text to an Image tool automatically draws a dark outline behind your text before filling it in, so your caption stays readable wherever you place it on the photo.