Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://zuiderzeeland.lizard.net/api/v4/colormaps/BuYlGn/?format=api",
    "name": "BuYlGn",
    "description": "matplotlib ColorBrewer Sequential",
    "definition": {
        "data": [
            [
                0.0,
                [
                    107,
                    86,
                    183,
                    255
                ]
            ],
            [
                0.075,
                [
                    55,
                    101,
                    222,
                    255
                ]
            ],
            [
                0.25,
                [
                    114,
                    179,
                    255,
                    255
                ]
            ],
            [
                0.325,
                [
                    254,
                    224,
                    139,
                    255
                ]
            ],
            [
                0.4,
                [
                    217,
                    239,
                    139,
                    255
                ]
            ],
            [
                0.5,
                [
                    166,
                    217,
                    106,
                    255
                ]
            ],
            [
                0.65,
                [
                    58,
                    176,
                    82,
                    255
                ]
            ],
            [
                0.775,
                [
                    56,
                    120,
                    76,
                    255
                ]
            ],
            [
                0.9,
                [
                    26,
                    92,
                    60,
                    255
                ]
            ],
            [
                1.0,
                [
                    20,
                    35,
                    15,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}