Off-topic, but TADS allows HTML colours to be used instead of hex codes—you still have to use hex codes if you want anything else, though.
Thinking of colours as associated with genres seems very odd to me?
Does the theme apply to all passages or can you change the colour scheme on a per-passage basis.