Moved the gradient function into the color module, but kept an alias under the old name. Gradients now return color objects. Converting colors to string now uses rgba format when alpha is not 100%.