prismatica 0.3.1

308 scientific colormaps as compile-time Rust constants
Documentation
// Auto-generated by prismatica xtask -- do not edit
use crate::{Colormap, ColormapKind, ColormapMeta, DiscretePalette};

/// DarkMint -- Sequential colormap from the cartocolors collection.
///
/// Author: CARTO
/// Perceptually uniform: false
/// CVD friendly: false
///
/// Citation: CARTO. CartoColor. carto.com/carto-colors
pub const DARKMINT: Colormap = Colormap {
    meta: ColormapMeta {
        name: "DarkMint",
        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: &DARKMINT_LUT,
};

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

/// Original 7-color discrete palette.
pub const DARKMINT_PALETTE: DiscretePalette = DiscretePalette {
    meta: ColormapMeta {
        name: "DarkMint",
        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: &DARKMINT_PALETTE_COLORS,
};

static DARKMINT_PALETTE_COLORS: [[u8; 3]; 7] = [
    [210, 251, 212],
    [165, 219, 194],
    [123, 188, 176],
    [85, 156, 158],
    [58, 124, 137],
    [35, 93, 114],
    [18, 63, 90],
];