Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/Blues_rGHG/?format=api",
    "name": "Blues_rGHG",
    "description": "Blues_rGHG",
    "definition": {
        "data": [
            [
                0,
                [
                    8,
                    48,
                    107,
                    255
                ]
            ],
            [
                0.25,
                [
                    8,
                    81,
                    156,
                    255
                ]
            ],
            [
                0.5,
                [
                    33,
                    113,
                    181,
                    255
                ]
            ],
            [
                0.75,
                [
                    66,
                    146,
                    198,
                    255
                ]
            ],
            [
                1.5,
                [
                    107,
                    174,
                    214,
                    255
                ]
            ],
            [
                5,
                [
                    158,
                    202,
                    225,
                    255
                ]
            ],
            [
                15,
                [
                    198,
                    219,
                    239,
                    255
                ]
            ],
            [
                30,
                [
                    222,
                    235,
                    247,
                    255
                ]
            ],
            [
                55,
                [
                    247,
                    251,
                    255,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}