prismatica 1.0.0

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

/// tropical -- Sequential colormap from the cmasher collection.
///
/// Author: Ellert van der Velden
/// Perceptually uniform: true
/// CVD friendly: true
///
/// Citation: van der Velden, E. (2020). CMasher: Scientific colormaps for making accessible, informative and 'cmashing' plots. JOSS, 5(46), 2004.
pub const TROPICAL: Colormap = Colormap {
    meta: ColormapMeta {
        name: "tropical",
        collection: "cmasher",
        author: "Ellert van der Velden",
        kind: ColormapKind::Sequential,
        perceptually_uniform: true,
        cvd_friendly: true,
        grayscale_safe: false,
        lut_size: 256,
        citation: "van der Velden, E. (2020). CMasher: Scientific colormaps for making accessible, informative and 'cmashing' plots. JOSS, 5(46), 2004.",
    },
    lut: &TROPICAL_LUT,
};

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