Converts colors to specified format (only from HEX for now).