css: hex string parsing