Less.js supports the color() function that attempts to convert a string to a valid Hex color. Lessphp is missing this. Low priority. I will try to add this when I have time if other people need it.