PHP implementation of uiGradients.json