Endpoint (read-only) for listing predefined colormaps.

A colormap is used when rendering rasters in the WMS endpoint.

GET /api/v4/colormaps/BluGreRed2/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://demo.lizard.net/api/v4/colormaps/BluGreRed2/?format=api",
    "name": "BluGreRed2",
    "description": "Blue, Green and Red",
    "definition": {
        "data": [
            [
                0.0,
                [
                    11,
                    44,
                    122,
                    255
                ]
            ],
            [
                0.125,
                [
                    26,
                    129,
                    143,
                    255
                ]
            ],
            [
                0.25,
                [
                    22,
                    181,
                    104,
                    255
                ]
            ],
            [
                0.375,
                [
                    33,
                    222,
                    1,
                    255
                ]
            ],
            [
                0.5,
                [
                    221,
                    250,
                    1,
                    255
                ]
            ],
            [
                0.625,
                [
                    242,
                    192,
                    12,
                    255
                ]
            ],
            [
                0.75,
                [
                    224,
                    129,
                    34,
                    255
                ]
            ],
            [
                1.0,
                [
                    194,
                    82,
                    60,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}