There's an official tutorial about that. "Quote colors" extension is no longer useful for newest versions, so one have to edit .css files by himself.
Also i'd also recommend taking a look at the similar question at askubuntu (Thundebird is cross-platform as well as its extensions)