This is a very large topic. Someone should write a book about it.
In the meantime use the object browser and the help system, for example BackThemeColorIndex and ThemeFontIndex.
There is a bunch of good info here:
https://www.thememydatabase.co.uk/
-Tom. Microsoft Access MVP