Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/BuGn/?format=api",
    "name": "BuGn",
    "description": "matplotlib ColorBrewer Sequential",
    "definition": {
        "data": [
            [
                0.0,
                [
                    247,
                    252,
                    253,
                    255
                ]
            ],
            [
                0.125,
                [
                    229,
                    245,
                    249,
                    255
                ]
            ],
            [
                0.25,
                [
                    204,
                    236,
                    230,
                    255
                ]
            ],
            [
                0.375,
                [
                    153,
                    216,
                    201,
                    255
                ]
            ],
            [
                0.5,
                [
                    102,
                    194,
                    164,
                    255
                ]
            ],
            [
                0.625,
                [
                    65,
                    174,
                    118,
                    255
                ]
            ],
            [
                0.75,
                [
                    35,
                    139,
                    69,
                    255
                ]
            ],
            [
                0.875,
                [
                    0,
                    109,
                    44,
                    255
                ]
            ],
            [
                1.0,
                [
                    0,
                    68,
                    27,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}