Often, I want to write text over a background image. If the background image is bright, I use a dark color for the text, and vice versa. But, often the image has both dark and bright parts. So a dark text is unreadable on the dark parts, and a bright text is unreadable on the bright parts.
I currently use one of several solutions, all of them are imperfect:
- Brighten the image and use a dark font, or darken the image and use a white font; the problem is that it reduces the beauty of the background image.
- Use grey text (as in this question: Is there a single text color that is acceptable on both dark and light background? ). But grey text often looks unappealing, and is still only barely readable.
- Use dark text, and try to position it on the bright spots of the image (or vice versa). This takes a lot of time because it requires me to position each word separately.
Are there better solutions to this problem?
In particular: is there an automatic tool that takes an image and a text, and positions the text only on the dark/bright parts of the image?