add css color parser and new API