Etracting out command line color parser to utils.