Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/BrYlBu_r/?format=api",
    "name": "BrYlBu_r",
    "description": "matplotlib ColorBrewer Diverging",
    "definition": {
        "data": [
            [
                0.0,
                [
                    0,
                    9,
                    149,
                    255
                ]
            ],
            [
                0.1,
                [
                    37,
                    52,
                    148,
                    255
                ]
            ],
            [
                0.2,
                [
                    3,
                    40,
                    172,
                    255
                ]
            ],
            [
                0.3,
                [
                    13,
                    143,
                    231,
                    255
                ]
            ],
            [
                0.5,
                [
                    37,
                    217,
                    250,
                    255
                ]
            ],
            [
                0.625,
                [
                    211,
                    160,
                    55,
                    255
                ]
            ],
            [
                0.75,
                [
                    155,
                    92,
                    52,
                    255
                ]
            ],
            [
                0.875,
                [
                    142,
                    89,
                    39,
                    255
                ]
            ],
            [
                1.0,
                [
                    124,
                    76,
                    28,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}