Endpoint (read-only) for listing predefined colormaps.

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

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

{
    "url": "https://demo.lizard.net/api/v4/colormaps/BluGreRed/?format=api",
    "name": "BluGreRed",
    "description": null,
    "definition": {
        "data": [
            [
                0.0,
                [
                    253,
                    250,
                    250,
                    255
                ]
            ],
            [
                0.004,
                [
                    251,
                    248,
                    247,
                    255
                ]
            ],
            [
                0.035,
                [
                    242,
                    224,
                    223,
                    255
                ]
            ],
            [
                0.043,
                [
                    240,
                    220,
                    217,
                    255
                ]
            ],
            [
                0.059,
                [
                    236,
                    211,
                    205,
                    255
                ]
            ],
            [
                0.102,
                [
                    223,
                    189,
                    172,
                    255
                ]
            ],
            [
                0.106,
                [
                    222,
                    188,
                    169,
                    255
                ]
            ],
            [
                0.11,
                [
                    221,
                    186,
                    167,
                    255
                ]
            ],
            [
                0.118,
                [
                    219,
                    184,
                    162,
                    255
                ]
            ],
            [
                0.125,
                [
                    217,
                    181,
                    157,
                    255
                ]
            ],
            [
                0.133,
                [
                    214,
                    178,
                    152,
                    255
                ]
            ],
            [
                0.184,
                [
                    200,
                    166,
                    120,
                    255
                ]
            ],
            [
                0.192,
                [
                    198,
                    165,
                    115,
                    255
                ]
            ],
            [
                0.2,
                [
                    195,
                    164,
                    110,
                    255
                ]
            ],
            [
                0.208,
                [
                    193,
                    163,
                    105,
                    255
                ]
            ],
            [
                0.212,
                [
                    192,
                    162,
                    103,
                    255
                ]
            ],
            [
                0.216,
                [
                    192,
                    163,
                    101,
                    255
                ]
            ],
            [
                0.302,
                [
                    182,
                    182,
                    94,
                    255
                ]
            ],
            [
                0.451,
                [
                    120,
                    166,
                    82,
                    255
                ]
            ],
            [
                0.455,
                [
                    118,
                    165,
                    81,
                    255
                ]
            ],
            [
                0.478,
                [
                    104,
                    163,
                    78,
                    255
                ]
            ],
            [
                0.533,
                [
                    73,
                    155,
                    70,
                    255
                ]
            ],
            [
                0.541,
                [
                    69,
                    153,
                    72,
                    255
                ]
            ],
            [
                0.718,
                [
                    47,
                    128,
                    127,
                    255
                ]
            ],
            [
                0.792,
                [
                    35,
                    97,
                    124,
                    255
                ]
            ],
            [
                0.835,
                [
                    27,
                    77,
                    122,
                    255
                ]
            ],
            [
                0.89,
                [
                    18,
                    48,
                    119,
                    255
                ]
            ],
            [
                0.969,
                [
                    5,
                    2,
                    115,
                    255
                ]
            ],
            [
                0.973,
                [
                    4,
                    0,
                    110,
                    255
                ]
            ],
            [
                0.992,
                [
                    1,
                    0,
                    56,
                    255
                ]
            ],
            [
                0.996,
                [
                    0,
                    0,
                    42,
                    255
                ]
            ],
            [
                1.0,
                [
                    0,
                    0,
                    0,
                    255
                ]
            ]
        ],
        "type": "GradientColormap"
    }
}