Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/CMRmap/?format=api",
    "name": "CMRmap",
    "description": "matplotlib Miscellaneous",
    "definition": {
        "data": [
            [
                0.0,
                [
                    0,
                    0,
                    0,
                    255
                ]
            ],
            [
                0.125,
                [
                    38,
                    38,
                    127,
                    255
                ]
            ],
            [
                0.25,
                [
                    76,
                    38,
                    191,
                    255
                ]
            ],
            [
                0.375,
                [
                    153,
                    51,
                    127,
                    255
                ]
            ],
            [
                0.5,
                [
                    255,
                    63,
                    38,
                    255
                ]
            ],
            [
                0.625,
                [
                    229,
                    127,
                    0,
                    255
                ]
            ],
            [
                0.75,
                [
                    229,
                    191,
                    25,
                    255
                ]
            ],
            [
                0.875,
                [
                    229,
                    229,
                    127,
                    255
                ]
            ],
            [
                1.0,
                [
                    255,
                    255,
                    255,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}