(command-line): Move the code which registers the default colors to