Restore support for replacing CAPITAL colour codes.