Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/BuPu/?format=api",
    "name": "BuPu",
    "description": "matplotlib ColorBrewer Sequential",
    "definition": {
        "data": [
            [
                0.0,
                [
                    247,
                    252,
                    253,
                    255
                ]
            ],
            [
                0.125,
                [
                    224,
                    236,
                    244,
                    255
                ]
            ],
            [
                0.25,
                [
                    191,
                    211,
                    230,
                    255
                ]
            ],
            [
                0.375,
                [
                    158,
                    188,
                    218,
                    255
                ]
            ],
            [
                0.5,
                [
                    140,
                    150,
                    198,
                    255
                ]
            ],
            [
                0.625,
                [
                    140,
                    107,
                    177,
                    255
                ]
            ],
            [
                0.75,
                [
                    136,
                    65,
                    157,
                    255
                ]
            ],
            [
                0.875,
                [
                    129,
                    15,
                    124,
                    255
                ]
            ],
            [
                1.0,
                [
                    77,
                    0,
                    75,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}