use crate::{Colormap, ColormapKind, ColormapMeta, DiscretePalette};
pub const SUNSETDARK: Colormap = Colormap {
meta: ColormapMeta {
name: "SunsetDark",
collection: "cartocolors",
author: "CARTO",
kind: ColormapKind::Sequential,
perceptually_uniform: false,
cvd_friendly: false,
grayscale_safe: false,
lut_size: 256,
citation: "CARTO. CartoColor. carto.com/carto-colors",
},
lut: &SUNSETDARK_LUT,
};
static SUNSETDARK_LUT: [[u8; 3]; 256] = [
[252, 222, 156],
[252, 221, 155],
[252, 219, 154],
[252, 218, 153],
[252, 217, 152],
[252, 215, 152],
[252, 214, 151],
[252, 212, 150],
[252, 211, 149],
[252, 210, 148],
[252, 208, 147],
[251, 207, 146],
[251, 206, 145],
[251, 204, 144],
[251, 203, 143],
[251, 202, 143],
[251, 200, 142],
[251, 199, 141],
[251, 197, 140],
[251, 196, 139],
[251, 195, 138],
[251, 193, 137],
[251, 192, 136],
[251, 191, 135],
[251, 189, 135],
[251, 188, 134],
[251, 187, 133],
[251, 185, 132],
[251, 184, 131],
[251, 182, 130],
[251, 181, 129],
[251, 180, 128],
[250, 178, 127],
[250, 177, 126],
[250, 176, 126],
[250, 174, 125],
[250, 173, 124],
[250, 172, 123],
[250, 170, 122],
[250, 169, 121],
[250, 167, 120],
[250, 166, 119],
[250, 165, 118],
[250, 163, 118],
[250, 162, 118],
[249, 161, 118],
[249, 160, 117],
[249, 159, 117],
[249, 158, 117],
[248, 157, 117],
[248, 156, 117],
[248, 154, 116],
[248, 153, 116],
[248, 152, 116],
[247, 151, 116],
[247, 150, 116],
[247, 149, 115],
[247, 148, 115],
[246, 146, 115],
[246, 145, 115],
[246, 144, 115],
[246, 143, 115],
[245, 142, 114],
[245, 141, 114],
[245, 140, 114],
[245, 139, 114],
[244, 137, 114],
[244, 136, 113],
[244, 135, 113],
[244, 134, 113],
[244, 133, 113],
[243, 132, 113],
[243, 131, 112],
[243, 130, 112],
[243, 128, 112],
[242, 127, 112],
[242, 126, 112],
[242, 125, 112],
[242, 124, 111],
[241, 123, 111],
[241, 122, 111],
[241, 121, 111],
[241, 119, 111],
[240, 118, 110],
[240, 117, 110],
[240, 116, 110],
[240, 115, 110],
[239, 114, 110],
[239, 113, 110],
[239, 113, 110],
[238, 112, 110],
[238, 111, 110],
[238, 110, 110],
[238, 109, 110],
[237, 108, 110],
[237, 107, 110],
[237, 106, 110],
[236, 106, 110],
[236, 105, 110],
[236, 104, 110],
[235, 103, 110],
[235, 102, 110],
[235, 101, 110],
[234, 100, 110],
[234, 99, 110],
[234, 99, 110],
[234, 98, 110],
[233, 97, 111],
[233, 96, 111],
[233, 95, 111],
[232, 94, 111],
[232, 93, 111],
[232, 92, 111],
[231, 92, 111],
[231, 91, 111],
[231, 90, 111],
[231, 89, 111],
[230, 88, 111],
[230, 87, 111],
[230, 86, 111],
[229, 86, 111],
[229, 85, 111],
[229, 84, 111],
[228, 83, 111],
[228, 82, 111],
[228, 81, 111],
[227, 80, 111],
[227, 79, 111],
[227, 79, 111],
[227, 78, 111],
[227, 78, 111],
[226, 77, 112],
[226, 77, 112],
[226, 76, 112],
[226, 76, 112],
[226, 75, 112],
[226, 75, 113],
[225, 74, 113],
[225, 74, 113],
[225, 73, 113],
[225, 73, 113],
[225, 72, 114],
[225, 71, 114],
[224, 71, 114],
[224, 70, 114],
[224, 70, 114],
[224, 69, 114],
[224, 69, 115],
[224, 68, 115],
[223, 68, 115],
[223, 67, 115],
[223, 67, 115],
[223, 66, 116],
[223, 66, 116],
[223, 65, 116],
[222, 65, 116],
[222, 64, 116],
[222, 64, 117],
[222, 63, 117],
[222, 63, 117],
[222, 62, 117],
[221, 62, 117],
[221, 61, 117],
[221, 61, 118],
[221, 60, 118],
[221, 60, 118],
[221, 59, 118],
[220, 59, 118],
[220, 58, 119],
[220, 58, 119],
[220, 57, 119],
[219, 57, 119],
[218, 56, 119],
[218, 56, 119],
[217, 55, 119],
[216, 55, 119],
[215, 54, 119],
[214, 54, 119],
[213, 53, 120],
[213, 53, 120],
[212, 52, 120],
[211, 52, 120],
[210, 51, 120],
[209, 51, 120],
[208, 50, 120],
[208, 50, 120],
[207, 49, 120],
[206, 49, 120],
[205, 49, 120],
[204, 48, 120],
[204, 48, 120],
[203, 47, 120],
[202, 47, 121],
[201, 46, 121],
[200, 46, 121],
[199, 45, 121],
[199, 45, 121],
[198, 44, 121],
[197, 44, 121],
[196, 43, 121],
[195, 43, 121],
[194, 42, 121],
[194, 42, 121],
[193, 41, 121],
[192, 41, 121],
[191, 41, 121],
[190, 40, 122],
[190, 40, 122],
[189, 39, 122],
[188, 39, 122],
[187, 38, 122],
[186, 38, 122],
[185, 37, 122],
[184, 37, 122],
[183, 37, 122],
[181, 37, 121],
[180, 36, 121],
[179, 36, 121],
[177, 36, 121],
[176, 36, 120],
[174, 36, 120],
[173, 35, 120],
[171, 35, 120],
[170, 35, 119],
[168, 35, 119],
[167, 35, 119],
[166, 34, 119],
[164, 34, 118],
[163, 34, 118],
[161, 34, 118],
[160, 34, 117],
[158, 34, 117],
[157, 33, 117],
[156, 33, 117],
[154, 33, 116],
[153, 33, 116],
[151, 33, 116],
[150, 32, 116],
[148, 32, 115],
[147, 32, 115],
[146, 32, 115],
[144, 32, 115],
[143, 31, 114],
[141, 31, 114],
[140, 31, 114],
[138, 31, 114],
[137, 31, 113],
[135, 31, 113],
[134, 30, 113],
[133, 30, 113],
[131, 30, 112],
[130, 30, 112],
[128, 30, 112],
[127, 29, 112],
[125, 29, 111],
[124, 29, 111],
];
pub const SUNSETDARK_PALETTE: DiscretePalette = DiscretePalette {
meta: ColormapMeta {
name: "SunsetDark",
collection: "cartocolors",
author: "CARTO",
kind: ColormapKind::Sequential,
perceptually_uniform: false,
cvd_friendly: false,
grayscale_safe: false,
lut_size: 7,
citation: "CARTO. CartoColor. carto.com/carto-colors",
},
colors: &SUNSETDARK_PALETTE_COLORS,
};
static SUNSETDARK_PALETTE_COLORS: [[u8; 3]; 7] = [
[252, 222, 156],
[250, 164, 118],
[240, 116, 110],
[227, 79, 111],
[220, 57, 119],
[185, 37, 122],
[124, 29, 111],
];