Add more unique colour codes to avoid clashes.

Also remove the trailing \n on errors.