use float range for color spec in cairo backend.