ColorData[]ColorData["name"]List all color schemes:
ColorData[]
List color schemes in the “Gradients” collection:
ColorData["Gradients"]
Define a user-defined color function:
Unprotect[ColorData]; ColorData["test"] := ColorDataFunction["test", "Gradients", {0, 1}, Blend[{Red, Green, Blue}, #1] &]; Protect[ColorData]
Compare it to the default color function, LakeColors:
{DensityPlot[x + y, {x, -1, 1}, {y, -1, 1}], DensityPlot[x + y, {x, -1, 1}, {y, -1, 1}, ColorFunction->"test"]}