[Bypassed] Custom colours in maths formulæ

I need custom colours in may formulae in my documents.
How do I do this?

Overriding the colours ‘red’, ‘green’, ‘blue’, etc. define is acceptable.

Also, I need to be able to use the OpenDyslexic font.

BYPASSED: I solved this by editing the values in the source code.

Hi Matthias, could you please tell me/us how you edited the values in the source code?
Which file is the code in, and what do I have to change there?
I also need to use custom colours in formulas and don’t know what else to do.
I would be grateful to you for helping me!
Kind regards, Francesco

Hi,
it seems you can’ t use other colors than these. But, you could also try to install the TexMaths extension which is a very nice “compiler” of the Latex. Then, you could use this in order to build your formula in the same way you would write a latex code.

How do I change the font to a TTF font if a use that? Or can I do that with LaTeX and skip LibreOffice completely?

Also how do I set the background colour when I use TexMaths?