I learned, that there are ways to change the color of single texts. However I\'d like to find out how to change the color of all texts of my website at one time.
I foun
Use the CSS color property:
CSS
* {
color: [color-value];
}
This will change the font color of all elements using the universal (*
) selector. If necessary, you may need to use the !important declaration (not recommended, but useful: see link) to override other styles.
JavaScript
document.body.style.color = [color-value];