Translate colour codes in markup language
Cleanup