You can also do the opposite and have a manualy controlled background and the text colour controlled by the function just switch the selectors around
_____
text #003544
border #211878