I want to know if it is possible to change the font color/foreground color, depending on what background I have.
Let’s say I have a webpage, and the user is able to upload an image to that site, and that image will be the background image of the website.
After the user uploads the image, I want the font color to adjust for the background color, so that the font color is good and readable, depending on the background image's colors.
Let's say a user uploads an image which is mostly black. Then, the font color should be white (or some other color which is good and readable on the black background).
When the user uploads a (mostly) white image, then the font color changes to black (or another color which is good to read on a white background).
The website is written in ASP.NET.