created colour gradient for resources