From f55a9d735aec6779267def92f8dc0e4dc682a839 Mon Sep 17 00:00:00 2001 From: jamjamjon Date: Sun, 13 Oct 2024 12:28:27 +0800 Subject: [PATCH] Update --- src/core/annotator.rs | 7 +- src/utils/color.rs | 55 +- src/utils/colormap256.rs | 3002 +++++--------------------------------- 3 files changed, 450 insertions(+), 2614 deletions(-) diff --git a/src/core/annotator.rs b/src/core/annotator.rs index 5a8b5a6..b9f51ee 100644 --- a/src/core/annotator.rs +++ b/src/core/annotator.rs @@ -10,7 +10,6 @@ use imageproc::map::map_colors; /// Annotator for struct `Y` #[derive(Clone)] pub struct Annotator { - // TODO: Add lifetime font: FontArc, _scale: f32, // Cope with ab_glyph & imageproc=0.24.0 scale_dy: f32, @@ -58,7 +57,7 @@ pub struct Annotator { // About masks without_masks: bool, - colormap: Option<[[u8; 3]; 256]>, + colormap: Option<[Color; 256]>, // About probs probs_topk: usize, @@ -74,7 +73,7 @@ impl Default for Annotator { _scale: 6.666667, scale_dy: 28., polygons_alpha: 179, - palette: Color::palette1(), + palette: Color::palette_base_20(), saveout: None, saveout_subs: vec![], saveout_base: String::from("runs"), @@ -661,7 +660,7 @@ impl Annotator { let luma = if let Some(colormap) = self.colormap { let luma = map_colors(mask.mask(), |p| { let x = p[0]; - image::Rgb(colormap[x as usize]) + image::Rgb(colormap[x as usize].rgb().into()) }); image::DynamicImage::from(luma) } else { diff --git a/src/utils/color.rs b/src/utils/color.rs index f728df7..aef39d8 100644 --- a/src/utils/color.rs +++ b/src/utils/color.rs @@ -1,3 +1,7 @@ +use anyhow::Result; +use rand::Rng; + +/// Color: 0xRRGGBBAA #[derive(Copy, Clone)] pub struct Color(u32); @@ -94,8 +98,35 @@ impl Color { xs.iter().copied().map(Into::into).collect() } - pub fn palette1() -> Vec { - // TODO + pub fn try_create_palette + Copy>(xs: &[A]) -> Result> + where + >::Error: std::fmt::Debug, + { + xs.iter() + .copied() + .map(|x| { + x.try_into() + .map_err(|e| anyhow::anyhow!("Failed to convert: {:?}", e)) + }) + .collect() + } + + pub fn palette_rand(n: usize) -> Vec { + let mut rng = rand::thread_rng(); + let xs: Vec<(u8, u8, u8)> = (0..n) + .map(|_| { + ( + rng.gen_range(0..=255), + rng.gen_range(0..=255), + rng.gen_range(0..=255), + ) + }) + .collect(); + + Self::create_palette(&xs) + } + + pub fn palette_base_20() -> Vec { Self::create_palette(&[ 0x00ff7fff, // SpringGreen 0xff69b4ff, // HotPink @@ -108,7 +139,7 @@ impl Color { 0x9acd32ff, // YellowGreen 0xcd853fff, // Peru 0x1e90ffff, // DodgerBlue - 0x708090ff, // SlateGray + 0xd74a49ff, // ? 0x7fffd4ff, // AquaMarine 0x3399ffff, // Blue2 0x00ffffff, // Cyan @@ -120,11 +151,21 @@ impl Color { ]) } - pub fn palette2() -> Vec { - // TODO + pub fn palette_cotton_candy_5() -> Vec { + Self::try_create_palette(&["#ff595e", "#ffca3a", "#8ac926", "#1982c4", "#6a4c93"]) + .expect("Faild to create palette: Cotton Candy") + } + + pub fn palette_tropical_sunrise_5() -> Vec { + // https://colorkit.co/palette/e12729-f37324-f8cc1b-72b043-007f4e/ + Self::try_create_palette(&["#e12729", "#f37324", "#f8cc1b", "#72b043", "#007f4e"]) + .expect("Faild to create palette: Tropical Sunrise") + } + + pub fn palette_rainbow_10() -> Vec { Self::create_palette(&[ - 0x00202eff, 0x003f5cff, 0x2c4875ff, 0x8a508fff, 0xbc5090ff, 0xff6361ff, 0xff8531ff, - 0xffa600ff, 0xffd380ff, + 0xff595eff, 0xff924cff, 0xffca3aff, 0xc5ca30ff, 0x8ac926ff, 0x52a675ff, 0x1982c4ff, + 0x4267acff, 0x6a4c93ff, 0xb5a6c9ff, ]) } } diff --git a/src/utils/colormap256.rs b/src/utils/colormap256.rs index 78b50e3..6a64a1d 100644 --- a/src/utils/colormap256.rs +++ b/src/utils/colormap256.rs @@ -1,3 +1,5 @@ +use crate::Color; + pub enum ColorMap256 { Turbo, Inferno, @@ -32,2608 +34,402 @@ impl From<&str> for ColorMap256 { } impl ColorMap256 { - pub fn data(&self) -> [[u8; 3]; 256] { - match self { - Self::Turbo => TURBO, - Self::Inferno => INFERNO, - Self::Plasma => PLASMA, - Self::Viridis => VIRIDIS, - Self::Magma => MAGMA, - Self::BentCoolWarm => BENTCOOLWARM, - Self::BlackBody => BLACKBODY, - Self::ExtendedKindLmann => EXTENDEDKINDLMANN, - Self::KindLmann => KINDLMANN, - Self::SmoothCoolWarm => SMOOTHCOOLWARM, - } + pub fn data(&self) -> [Color; 256] { + let xs = match self { + Self::Turbo => [ + 0x30123bff, 0x321543ff, 0x33184aff, 0x341b51ff, 0x351e58ff, 0x36215fff, 0x372466ff, + 0x38276dff, 0x392a73ff, 0x3a2d79ff, 0x3b2f80ff, 0x3c3286ff, 0x3d358bff, 0x3e3891ff, + 0x3f3b97ff, 0x3f3e9cff, 0x4040a2ff, 0x4143a7ff, 0x4146acff, 0x4249b1ff, 0x424bb5ff, + 0x434ebaff, 0x4451bfff, 0x4454c3ff, 0x4456c7ff, 0x4559cbff, 0x455ccfff, 0x455ed3ff, + 0x4661d6ff, 0x4664daff, 0x4666ddff, 0x4669e0ff, 0x466be3ff, 0x476ee6ff, 0x4771e9ff, + 0x4773ebff, 0x4776eeff, 0x4778f0ff, 0x477bf2ff, 0x467df4ff, 0x4680f6ff, 0x4682f8ff, + 0x4685faff, 0x4687fbff, 0x458afcff, 0x458cfdff, 0x448ffeff, 0x4391feff, 0x4294ffff, + 0x4196ffff, 0x4099ffff, 0x3e9bfeff, 0x3d9efeff, 0x3ba0fdff, 0x3aa3fcff, 0x38a5fbff, + 0x37a8faff, 0x35abf8ff, 0x33adf7ff, 0x31aff5ff, 0x2fb2f4ff, 0x2eb4f2ff, 0x2cb7f0ff, + 0x2ab9eeff, 0x28bcebff, 0x27bee9ff, 0x25c0e7ff, 0x23c3e4ff, 0x22c5e2ff, 0x20c7dfff, + 0x1fc9ddff, 0x1ecbdaff, 0x1ccdd8ff, 0x1bd0d5ff, 0x1ad2d2ff, 0x1ad4d0ff, 0x19d5cdff, + 0x18d7caff, 0x18d9c8ff, 0x18dbc5ff, 0x18ddc2ff, 0x18dec0ff, 0x18e0bdff, 0x19e2bbff, + 0x19e3b9ff, 0x1ae4b6ff, 0x1ce6b4ff, 0x1de7b2ff, 0x1fe9afff, 0x20eaacff, 0x22ebaaff, + 0x25eca7ff, 0x27eea4ff, 0x2aefa1ff, 0x2cf09eff, 0x2ff19bff, 0x32f298ff, 0x35f394ff, + 0x38f491ff, 0x3cf58eff, 0x3ff68aff, 0x43f787ff, 0x46f884ff, 0x4af880ff, 0x4ef97dff, + 0x52fa7aff, 0x55fa76ff, 0x59fb73ff, 0x5dfc6fff, 0x61fc6cff, 0x65fd69ff, 0x69fd66ff, + 0x6dfe62ff, 0x71fe5fff, 0x75fe5cff, 0x79fe59ff, 0x7dff56ff, 0x80ff53ff, 0x84ff51ff, + 0x88ff4eff, 0x8bff4bff, 0x8fff49ff, 0x92ff47ff, 0x96fe44ff, 0x99fe42ff, 0x9cfe40ff, + 0x9ffd3fff, 0xa1fd3dff, 0xa4fc3cff, 0xa7fc3aff, 0xa9fb39ff, 0xacfb38ff, 0xaffa37ff, + 0xb1f936ff, 0xb4f836ff, 0xb7f735ff, 0xb9f635ff, 0xbcf534ff, 0xbef434ff, 0xc1f334ff, + 0xc3f134ff, 0xc6f034ff, 0xc8ef34ff, 0xcbed34ff, 0xcdec34ff, 0xd0ea34ff, 0xd2e935ff, + 0xd4e735ff, 0xd7e535ff, 0xd9e436ff, 0xdbe236ff, 0xdde037ff, 0xdfdf37ff, 0xe1dd37ff, + 0xe3db38ff, 0xe5d938ff, 0xe7d739ff, 0xe9d539ff, 0xebd339ff, 0xecd13aff, 0xeecf3aff, + 0xefcd3aff, 0xf1cb3aff, 0xf2c93aff, 0xf4c73aff, 0xf5c53aff, 0xf6c33aff, 0xf7c13aff, + 0xf8be39ff, 0xf9bc39ff, 0xfaba39ff, 0xfbb838ff, 0xfbb637ff, 0xfcb336ff, 0xfcb136ff, + 0xfdae35ff, 0xfdac34ff, 0xfea933ff, 0xfea732ff, 0xfea431ff, 0xfea130ff, 0xfe9e2fff, + 0xfe9b2dff, 0xfe992cff, 0xfe962bff, 0xfe932aff, 0xfe9029ff, 0xfd8d27ff, 0xfd8a26ff, + 0xfc8725ff, 0xfc8423ff, 0xfb8122ff, 0xfb7e21ff, 0xfa7b1fff, 0xf9781eff, 0xf9751dff, + 0xf8721cff, 0xf76f1aff, 0xf66c19ff, 0xf56918ff, 0xf46617ff, 0xf36315ff, 0xf26014ff, + 0xf15d13ff, 0xf05b12ff, 0xef5811ff, 0xed5510ff, 0xec530fff, 0xeb500eff, 0xea4e0dff, + 0xe84b0cff, 0xe7490cff, 0xe5470bff, 0xe4450aff, 0xe2430aff, 0xe14109ff, 0xdf3f08ff, + 0xdd3d08ff, 0xdc3b07ff, 0xda3907ff, 0xd83706ff, 0xd63506ff, 0xd43305ff, 0xd23105ff, + 0xd02f05ff, 0xce2d04ff, 0xcc2b04ff, 0xca2a04ff, 0xc82803ff, 0xc52603ff, 0xc32503ff, + 0xc12302ff, 0xbe2102ff, 0xbc2002ff, 0xb91e02ff, 0xb71d02ff, 0xb41b01ff, 0xb21a01ff, + 0xaf1801ff, 0xac1701ff, 0xa91601ff, 0xa71401ff, 0xa41301ff, 0xa11201ff, 0x9e1001ff, + 0x9b0f01ff, 0x980e01ff, 0x950d01ff, 0x920b01ff, 0x8e0a01ff, 0x8b0902ff, 0x880802ff, + 0x850702ff, 0x810602ff, 0x7e0502ff, 0x7a0403ff, + ], + Self::Inferno => [ + 0x000004ff, 0x010005ff, 0x010106ff, 0x010108ff, 0x02010aff, 0x02020cff, 0x02020eff, + 0x030210ff, 0x040312ff, 0x040314ff, 0x050417ff, 0x060419ff, 0x07051bff, 0x08051dff, + 0x09061fff, 0x0a0722ff, 0x0b0724ff, 0x0c0826ff, 0x0d0829ff, 0x0e092bff, 0x10092dff, + 0x110a30ff, 0x120a32ff, 0x140b34ff, 0x150b37ff, 0x160b39ff, 0x180c3cff, 0x190c3eff, + 0x1b0c41ff, 0x1c0c43ff, 0x1e0c45ff, 0x1f0c48ff, 0x210c4aff, 0x230c4cff, 0x240c4fff, + 0x260c51ff, 0x280b53ff, 0x290b55ff, 0x2b0b57ff, 0x2d0b59ff, 0x2f0a5bff, 0x310a5cff, + 0x320a5eff, 0x340a5fff, 0x360961ff, 0x380962ff, 0x390963ff, 0x3b0964ff, 0x3d0965ff, + 0x3e0966ff, 0x400a67ff, 0x420a68ff, 0x440a68ff, 0x450a69ff, 0x470b6aff, 0x490b6aff, + 0x4a0c6bff, 0x4c0c6bff, 0x4d0d6cff, 0x4f0d6cff, 0x510e6cff, 0x520e6dff, 0x540f6dff, + 0x550f6dff, 0x57106eff, 0x59106eff, 0x5a116eff, 0x5c126eff, 0x5d126eff, 0x5f136eff, + 0x61136eff, 0x62146eff, 0x64156eff, 0x65156eff, 0x67166eff, 0x69166eff, 0x6a176eff, + 0x6c186eff, 0x6d186eff, 0x6f196eff, 0x71196eff, 0x721a6eff, 0x741a6eff, 0x751b6eff, + 0x771c6dff, 0x781c6dff, 0x7a1d6dff, 0x7c1d6dff, 0x7d1e6dff, 0x7f1e6cff, 0x801f6cff, + 0x82206cff, 0x84206bff, 0x85216bff, 0x87216bff, 0x88226aff, 0x8a226aff, 0x8c2369ff, + 0x8d2369ff, 0x8f2469ff, 0x902568ff, 0x922568ff, 0x932667ff, 0x952667ff, 0x972766ff, + 0x982766ff, 0x9a2865ff, 0x9b2964ff, 0x9d2964ff, 0x9f2a63ff, 0xa02a63ff, 0xa22b62ff, + 0xa32c61ff, 0xa52c60ff, 0xa62d60ff, 0xa82e5fff, 0xa92e5eff, 0xab2f5eff, 0xad305dff, + 0xae305cff, 0xb0315bff, 0xb1325aff, 0xb3325aff, 0xb43359ff, 0xb63458ff, 0xb73557ff, + 0xb93556ff, 0xba3655ff, 0xbc3754ff, 0xbd3853ff, 0xbf3952ff, 0xc03a51ff, 0xc13a50ff, + 0xc33b4fff, 0xc43c4eff, 0xc63d4dff, 0xc73e4cff, 0xc83f4bff, 0xca404aff, 0xcb4149ff, + 0xcc4248ff, 0xce4347ff, 0xcf4446ff, 0xd04545ff, 0xd24644ff, 0xd34743ff, 0xd44842ff, + 0xd54a41ff, 0xd74b3fff, 0xd84c3eff, 0xd94d3dff, 0xda4e3cff, 0xdb503bff, 0xdd513aff, + 0xde5238ff, 0xdf5337ff, 0xe05536ff, 0xe15635ff, 0xe25734ff, 0xe35933ff, 0xe45a31ff, + 0xe55c30ff, 0xe65d2fff, 0xe75e2eff, 0xe8602dff, 0xe9612bff, 0xea632aff, 0xeb6429ff, + 0xeb6628ff, 0xec6726ff, 0xed6925ff, 0xee6a24ff, 0xef6c23ff, 0xef6e21ff, 0xf06f20ff, + 0xf1711fff, 0xf1731dff, 0xf2741cff, 0xf3761bff, 0xf37819ff, 0xf47918ff, 0xf57b17ff, + 0xf57d15ff, 0xf67e14ff, 0xf68013ff, 0xf78212ff, 0xf78410ff, 0xf8850fff, 0xf8870eff, + 0xf8890cff, 0xf98b0bff, 0xf98c0aff, 0xf98e09ff, 0xfa9008ff, 0xfa9207ff, 0xfa9407ff, + 0xfb9606ff, 0xfb9706ff, 0xfb9906ff, 0xfb9b06ff, 0xfb9d07ff, 0xfc9f07ff, 0xfca108ff, + 0xfca309ff, 0xfca50aff, 0xfca60cff, 0xfca80dff, 0xfcaa0fff, 0xfcac11ff, 0xfcae12ff, + 0xfcb014ff, 0xfcb216ff, 0xfcb418ff, 0xfbb61aff, 0xfbb81dff, 0xfbba1fff, 0xfbbc21ff, + 0xfbbe23ff, 0xfac026ff, 0xfac228ff, 0xfac42aff, 0xfac62dff, 0xf9c72fff, 0xf9c932ff, + 0xf9cb35ff, 0xf8cd37ff, 0xf8cf3aff, 0xf7d13dff, 0xf7d340ff, 0xf6d543ff, 0xf6d746ff, + 0xf5d949ff, 0xf5db4cff, 0xf4dd4fff, 0xf4df53ff, 0xf4e156ff, 0xf3e35aff, 0xf3e55dff, + 0xf2e661ff, 0xf2e865ff, 0xf2ea69ff, 0xf1ec6dff, 0xf1ed71ff, 0xf1ef75ff, 0xf1f179ff, + 0xf2f27dff, 0xf2f482ff, 0xf3f586ff, 0xf3f68aff, 0xf4f88eff, 0xf5f992ff, 0xf6fa96ff, + 0xf8fb9aff, 0xf9fc9dff, 0xfafda1ff, 0xfcffa4ff, + ], + Self::Plasma => [ + 0x0d0887ff, 0x100788ff, 0x130789ff, 0x16078aff, 0x19068cff, 0x1b068dff, 0x1d068eff, + 0x20068fff, 0x220690ff, 0x240691ff, 0x260591ff, 0x280592ff, 0x2a0593ff, 0x2c0594ff, + 0x2e0595ff, 0x2f0596ff, 0x310597ff, 0x330597ff, 0x350498ff, 0x370499ff, 0x38049aff, + 0x3a049aff, 0x3c049bff, 0x3e049cff, 0x3f049cff, 0x41049dff, 0x43039eff, 0x44039eff, + 0x46039fff, 0x48039fff, 0x4903a0ff, 0x4b03a1ff, 0x4c02a1ff, 0x4e02a2ff, 0x5002a2ff, + 0x5102a3ff, 0x5302a3ff, 0x5502a4ff, 0x5601a4ff, 0x5801a4ff, 0x5901a5ff, 0x5b01a5ff, + 0x5c01a6ff, 0x5e01a6ff, 0x6001a6ff, 0x6100a7ff, 0x6300a7ff, 0x6400a7ff, 0x6600a7ff, + 0x6700a8ff, 0x6900a8ff, 0x6a00a8ff, 0x6c00a8ff, 0x6e00a8ff, 0x6f00a8ff, 0x7100a8ff, + 0x7201a8ff, 0x7401a8ff, 0x7501a8ff, 0x7701a8ff, 0x7801a8ff, 0x7a02a8ff, 0x7b02a8ff, + 0x7d03a8ff, 0x7e03a8ff, 0x8004a8ff, 0x8104a7ff, 0x8305a7ff, 0x8405a7ff, 0x8606a6ff, + 0x8707a6ff, 0x8808a6ff, 0x8a09a5ff, 0x8b0aa5ff, 0x8d0ba5ff, 0x8e0ca4ff, 0x8f0da4ff, + 0x910ea3ff, 0x920fa3ff, 0x9410a2ff, 0x9511a1ff, 0x9613a1ff, 0x9814a0ff, 0x99159fff, + 0x9a169fff, 0x9c179eff, 0x9d189dff, 0x9e199dff, 0xa01a9cff, 0xa11b9bff, 0xa21d9aff, + 0xa31e9aff, 0xa51f99ff, 0xa62098ff, 0xa72197ff, 0xa82296ff, 0xaa2395ff, 0xab2494ff, + 0xac2694ff, 0xad2793ff, 0xae2892ff, 0xb02991ff, 0xb12a90ff, 0xb22b8fff, 0xb32c8eff, + 0xb42e8dff, 0xb52f8cff, 0xb6308bff, 0xb7318aff, 0xb83289ff, 0xba3388ff, 0xbb3488ff, + 0xbc3587ff, 0xbd3786ff, 0xbe3885ff, 0xbf3984ff, 0xc03a83ff, 0xc13b82ff, 0xc23c81ff, + 0xc33d80ff, 0xc43e7fff, 0xc5407eff, 0xc6417dff, 0xc7427cff, 0xc8437bff, 0xc9447aff, + 0xca457aff, 0xcb4679ff, 0xcc4778ff, 0xcc4977ff, 0xcd4a76ff, 0xce4b75ff, 0xcf4c74ff, + 0xd04d73ff, 0xd14e72ff, 0xd24f71ff, 0xd35171ff, 0xd45270ff, 0xd5536fff, 0xd5546eff, + 0xd6556dff, 0xd7566cff, 0xd8576bff, 0xd9586aff, 0xda5a6aff, 0xda5b69ff, 0xdb5c68ff, + 0xdc5d67ff, 0xdd5e66ff, 0xde5f65ff, 0xde6164ff, 0xdf6263ff, 0xe06363ff, 0xe16462ff, + 0xe26561ff, 0xe26660ff, 0xe3685fff, 0xe4695eff, 0xe56a5dff, 0xe56b5dff, 0xe66c5cff, + 0xe76e5bff, 0xe76f5aff, 0xe87059ff, 0xe97158ff, 0xe97257ff, 0xea7457ff, 0xeb7556ff, + 0xeb7655ff, 0xec7754ff, 0xed7953ff, 0xed7a52ff, 0xee7b51ff, 0xef7c51ff, 0xef7e50ff, + 0xf07f4fff, 0xf0804eff, 0xf1814dff, 0xf1834cff, 0xf2844bff, 0xf3854bff, 0xf3874aff, + 0xf48849ff, 0xf48948ff, 0xf58b47ff, 0xf58c46ff, 0xf68d45ff, 0xf68f44ff, 0xf79044ff, + 0xf79143ff, 0xf79342ff, 0xf89441ff, 0xf89540ff, 0xf9973fff, 0xf9983eff, 0xf99a3eff, + 0xfa9b3dff, 0xfa9c3cff, 0xfa9e3bff, 0xfb9f3aff, 0xfba139ff, 0xfba238ff, 0xfca338ff, + 0xfca537ff, 0xfca636ff, 0xfca835ff, 0xfca934ff, 0xfdab33ff, 0xfdac33ff, 0xfdae32ff, + 0xfdaf31ff, 0xfdb130ff, 0xfdb22fff, 0xfdb42fff, 0xfdb52eff, 0xfeb72dff, 0xfeb82cff, + 0xfeba2cff, 0xfebb2bff, 0xfebd2aff, 0xfebe2aff, 0xfec029ff, 0xfdc229ff, 0xfdc328ff, + 0xfdc527ff, 0xfdc627ff, 0xfdc827ff, 0xfdca26ff, 0xfdcb26ff, 0xfccd25ff, 0xfcce25ff, + 0xfcd025ff, 0xfcd225ff, 0xfbd324ff, 0xfbd524ff, 0xfbd724ff, 0xfad824ff, 0xfada24ff, + 0xf9dc24ff, 0xf9dd25ff, 0xf8df25ff, 0xf8e125ff, 0xf7e225ff, 0xf7e425ff, 0xf6e626ff, + 0xf6e826ff, 0xf5e926ff, 0xf5eb27ff, 0xf4ed27ff, 0xf3ee27ff, 0xf3f027ff, 0xf2f227ff, + 0xf1f426ff, 0xf1f525ff, 0xf0f724ff, 0xf0f921ff, + ], + Self::Viridis => [ + 0x440154ff, 0x440256ff, 0x450457ff, 0x450559ff, 0x46075aff, 0x46085cff, 0x460a5dff, + 0x460b5eff, 0x470d60ff, 0x470e61ff, 0x471063ff, 0x471164ff, 0x471365ff, 0x481467ff, + 0x481668ff, 0x481769ff, 0x48186aff, 0x481a6cff, 0x481b6dff, 0x481c6eff, 0x481d6fff, + 0x481f70ff, 0x482071ff, 0x482173ff, 0x482374ff, 0x482475ff, 0x482576ff, 0x482677ff, + 0x482878ff, 0x482979ff, 0x472a7aff, 0x472c7aff, 0x472d7bff, 0x472e7cff, 0x472f7dff, + 0x46307eff, 0x46327eff, 0x46337fff, 0x463480ff, 0x453581ff, 0x453781ff, 0x453882ff, + 0x443983ff, 0x443a83ff, 0x443b84ff, 0x433d84ff, 0x433e85ff, 0x423f85ff, 0x424086ff, + 0x424186ff, 0x414287ff, 0x414487ff, 0x404588ff, 0x404688ff, 0x3f4788ff, 0x3f4889ff, + 0x3e4989ff, 0x3e4a89ff, 0x3e4c8aff, 0x3d4d8aff, 0x3d4e8aff, 0x3c4f8aff, 0x3c508bff, + 0x3b518bff, 0x3b528bff, 0x3a538bff, 0x3a548cff, 0x39558cff, 0x39568cff, 0x38588cff, + 0x38598cff, 0x375a8cff, 0x375b8dff, 0x365c8dff, 0x365d8dff, 0x355e8dff, 0x355f8dff, + 0x34608dff, 0x34618dff, 0x33628dff, 0x33638dff, 0x32648eff, 0x32658eff, 0x31668eff, + 0x31678eff, 0x31688eff, 0x30698eff, 0x306a8eff, 0x2f6b8eff, 0x2f6c8eff, 0x2e6d8eff, + 0x2e6e8eff, 0x2e6f8eff, 0x2d708eff, 0x2d718eff, 0x2c718eff, 0x2c728eff, 0x2c738eff, + 0x2b748eff, 0x2b758eff, 0x2a768eff, 0x2a778eff, 0x2a788eff, 0x29798eff, 0x297a8eff, + 0x297b8eff, 0x287c8eff, 0x287d8eff, 0x277e8eff, 0x277f8eff, 0x27808eff, 0x26818eff, + 0x26828eff, 0x26828eff, 0x25838eff, 0x25848eff, 0x25858eff, 0x24868eff, 0x24878eff, + 0x23888eff, 0x23898eff, 0x238a8dff, 0x228b8dff, 0x228c8dff, 0x228d8dff, 0x218e8dff, + 0x218f8dff, 0x21908dff, 0x21918cff, 0x20928cff, 0x20928cff, 0x20938cff, 0x1f948cff, + 0x1f958bff, 0x1f968bff, 0x1f978bff, 0x1f988bff, 0x1f998aff, 0x1f9a8aff, 0x1e9b8aff, + 0x1e9c89ff, 0x1e9d89ff, 0x1f9e89ff, 0x1f9f88ff, 0x1fa088ff, 0x1fa188ff, 0x1fa187ff, + 0x1fa287ff, 0x20a386ff, 0x20a486ff, 0x21a585ff, 0x21a685ff, 0x22a785ff, 0x22a884ff, + 0x23a983ff, 0x24aa83ff, 0x25ab82ff, 0x25ac82ff, 0x26ad81ff, 0x27ad81ff, 0x28ae80ff, + 0x29af7fff, 0x2ab07fff, 0x2cb17eff, 0x2db27dff, 0x2eb37cff, 0x2fb47cff, 0x31b57bff, + 0x32b67aff, 0x34b679ff, 0x35b779ff, 0x37b878ff, 0x38b977ff, 0x3aba76ff, 0x3bbb75ff, + 0x3dbc74ff, 0x3fbc73ff, 0x40bd72ff, 0x42be71ff, 0x44bf70ff, 0x46c06fff, 0x48c16eff, + 0x4ac16dff, 0x4cc26cff, 0x4ec36bff, 0x50c46aff, 0x52c569ff, 0x54c568ff, 0x56c667ff, + 0x58c765ff, 0x5ac864ff, 0x5cc863ff, 0x5ec962ff, 0x60ca60ff, 0x63cb5fff, 0x65cb5eff, + 0x67cc5cff, 0x69cd5bff, 0x6ccd5aff, 0x6ece58ff, 0x70cf57ff, 0x73d056ff, 0x75d054ff, + 0x77d153ff, 0x7ad151ff, 0x7cd250ff, 0x7fd34eff, 0x81d34dff, 0x84d44bff, 0x86d549ff, + 0x89d548ff, 0x8bd646ff, 0x8ed645ff, 0x90d743ff, 0x93d741ff, 0x95d840ff, 0x98d83eff, + 0x9bd93cff, 0x9dd93bff, 0xa0da39ff, 0xa2da37ff, 0xa5db36ff, 0xa8db34ff, 0xaadc32ff, + 0xaddc30ff, 0xb0dd2fff, 0xb2dd2dff, 0xb5de2bff, 0xb8de29ff, 0xbade28ff, 0xbddf26ff, + 0xc0df25ff, 0xc2df23ff, 0xc5e021ff, 0xc8e020ff, 0xcae11fff, 0xcde11dff, 0xd0e11cff, + 0xd2e21bff, 0xd5e21aff, 0xd8e219ff, 0xdae319ff, 0xdde318ff, 0xdfe318ff, 0xe2e418ff, + 0xe5e419ff, 0xe7e419ff, 0xeae51aff, 0xece51bff, 0xefe51cff, 0xf1e51dff, 0xf4e61eff, + 0xf6e620ff, 0xf8e621ff, 0xfbe723ff, 0xfde725ff, + ], + Self::Magma => [ + 0x000004ff, 0x010005ff, 0x010106ff, 0x010108ff, 0x020109ff, 0x02020bff, 0x02020dff, + 0x03030fff, 0x030312ff, 0x040414ff, 0x050416ff, 0x060518ff, 0x06051aff, 0x07061cff, + 0x08071eff, 0x090720ff, 0x0a0822ff, 0x0b0924ff, 0x0c0926ff, 0x0d0a29ff, 0x0e0b2bff, + 0x100b2dff, 0x110c2fff, 0x120d31ff, 0x130d34ff, 0x140e36ff, 0x150e38ff, 0x160f3bff, + 0x180f3dff, 0x19103fff, 0x1a1042ff, 0x1c1044ff, 0x1d1147ff, 0x1e1149ff, 0x20114bff, + 0x21114eff, 0x221150ff, 0x241253ff, 0x251255ff, 0x271258ff, 0x29115aff, 0x2a115cff, + 0x2c115fff, 0x2d1161ff, 0x2f1163ff, 0x311165ff, 0x331067ff, 0x341069ff, 0x36106bff, + 0x38106cff, 0x390f6eff, 0x3b0f70ff, 0x3d0f71ff, 0x3f0f72ff, 0x400f74ff, 0x420f75ff, + 0x440f76ff, 0x451077ff, 0x471078ff, 0x491078ff, 0x4a1079ff, 0x4c117aff, 0x4e117bff, + 0x4f127bff, 0x51127cff, 0x52137cff, 0x54137dff, 0x56147dff, 0x57157eff, 0x59157eff, + 0x5a167eff, 0x5c167fff, 0x5d177fff, 0x5f187fff, 0x601880ff, 0x621980ff, 0x641a80ff, + 0x651a80ff, 0x671b80ff, 0x681c81ff, 0x6a1c81ff, 0x6b1d81ff, 0x6d1d81ff, 0x6e1e81ff, + 0x701f81ff, 0x721f81ff, 0x732081ff, 0x752181ff, 0x762181ff, 0x782281ff, 0x792282ff, + 0x7b2382ff, 0x7c2382ff, 0x7e2482ff, 0x802582ff, 0x812581ff, 0x832681ff, 0x842681ff, + 0x862781ff, 0x882781ff, 0x892881ff, 0x8b2981ff, 0x8c2981ff, 0x8e2a81ff, 0x902a81ff, + 0x912b81ff, 0x932b80ff, 0x942c80ff, 0x962c80ff, 0x982d80ff, 0x992d80ff, 0x9b2e7fff, + 0x9c2e7fff, 0x9e2f7fff, 0xa02f7fff, 0xa1307eff, 0xa3307eff, 0xa5317eff, 0xa6317dff, + 0xa8327dff, 0xaa337dff, 0xab337cff, 0xad347cff, 0xae347bff, 0xb0357bff, 0xb2357bff, + 0xb3367aff, 0xb5367aff, 0xb73779ff, 0xb83779ff, 0xba3878ff, 0xbc3978ff, 0xbd3977ff, + 0xbf3a77ff, 0xc03a76ff, 0xc23b75ff, 0xc43c75ff, 0xc53c74ff, 0xc73d73ff, 0xc83e73ff, + 0xca3e72ff, 0xcc3f71ff, 0xcd4071ff, 0xcf4070ff, 0xd0416fff, 0xd2426fff, 0xd3436eff, + 0xd5446dff, 0xd6456cff, 0xd8456cff, 0xd9466bff, 0xdb476aff, 0xdc4869ff, 0xde4968ff, + 0xdf4a68ff, 0xe04c67ff, 0xe24d66ff, 0xe34e65ff, 0xe44f64ff, 0xe55064ff, 0xe75263ff, + 0xe85362ff, 0xe95462ff, 0xea5661ff, 0xeb5760ff, 0xec5860ff, 0xed5a5fff, 0xee5b5eff, + 0xef5d5eff, 0xf05f5eff, 0xf1605dff, 0xf2625dff, 0xf2645cff, 0xf3655cff, 0xf4675cff, + 0xf4695cff, 0xf56b5cff, 0xf66c5cff, 0xf66e5cff, 0xf7705cff, 0xf7725cff, 0xf8745cff, + 0xf8765cff, 0xf9785dff, 0xf9795dff, 0xf97b5dff, 0xfa7d5eff, 0xfa7f5eff, 0xfa815fff, + 0xfb835fff, 0xfb8560ff, 0xfb8761ff, 0xfc8961ff, 0xfc8a62ff, 0xfc8c63ff, 0xfc8e64ff, + 0xfc9065ff, 0xfd9266ff, 0xfd9467ff, 0xfd9668ff, 0xfd9869ff, 0xfd9a6aff, 0xfd9b6bff, + 0xfe9d6cff, 0xfe9f6dff, 0xfea16eff, 0xfea36fff, 0xfea571ff, 0xfea772ff, 0xfea973ff, + 0xfeaa74ff, 0xfeac76ff, 0xfeae77ff, 0xfeb078ff, 0xfeb27aff, 0xfeb47bff, 0xfeb67cff, + 0xfeb77eff, 0xfeb97fff, 0xfebb81ff, 0xfebd82ff, 0xfebf84ff, 0xfec185ff, 0xfec287ff, + 0xfec488ff, 0xfec68aff, 0xfec88cff, 0xfeca8dff, 0xfecc8fff, 0xfecd90ff, 0xfecf92ff, + 0xfed194ff, 0xfed395ff, 0xfed597ff, 0xfed799ff, 0xfed89aff, 0xfdda9cff, 0xfddc9eff, + 0xfddea0ff, 0xfde0a1ff, 0xfde2a3ff, 0xfde3a5ff, 0xfde5a7ff, 0xfde7a9ff, 0xfde9aaff, + 0xfdebacff, 0xfcecaeff, 0xfceeb0ff, 0xfcf0b2ff, 0xfcf2b4ff, 0xfcf4b6ff, 0xfcf6b8ff, + 0xfcf7b9ff, 0xfcf9bbff, 0xfcfbbdff, 0xfcfdbfff, + ], + Self::BentCoolWarm => [ + 0x3b4cc0ff, 0x3c4ec1ff, 0x3d4fc2ff, 0x3e50c2ff, 0x3f52c3ff, 0x4053c4ff, 0x4155c4ff, + 0x4256c5ff, 0x4357c5ff, 0x4459c6ff, 0x455ac7ff, 0x465bc7ff, 0x475dc8ff, 0x485ec8ff, + 0x495fc9ff, 0x4a61caff, 0x4b62caff, 0x4c64cbff, 0x4d65cbff, 0x4e66ccff, 0x4f68ccff, + 0x5169cdff, 0x526aceff, 0x536cceff, 0x546dcfff, 0x556ecfff, 0x5670d0ff, 0x5771d0ff, + 0x5972d1ff, 0x5a74d1ff, 0x5b75d2ff, 0x5c76d2ff, 0x5d78d3ff, 0x5f79d3ff, 0x607ad4ff, + 0x617cd4ff, 0x627dd5ff, 0x647ed5ff, 0x6580d6ff, 0x6681d6ff, 0x6782d6ff, 0x6983d7ff, + 0x6a85d7ff, 0x6b86d8ff, 0x6d87d8ff, 0x6e89d9ff, 0x6f8ad9ff, 0x718bdaff, 0x728ddaff, + 0x738edaff, 0x758fdbff, 0x7691dbff, 0x7792dcff, 0x7993dcff, 0x7a95dcff, 0x7b96ddff, + 0x7d97ddff, 0x7e98deff, 0x809adeff, 0x819bdeff, 0x829cdfff, 0x849edfff, 0x859fdfff, + 0x87a0e0ff, 0x88a2e0ff, 0x8aa3e1ff, 0x8ba4e1ff, 0x8ca5e1ff, 0x8ea7e2ff, 0x8fa8e2ff, + 0x91a9e2ff, 0x92abe3ff, 0x94ace3ff, 0x95ade3ff, 0x97afe4ff, 0x98b0e4ff, 0x9ab1e4ff, + 0x9bb2e5ff, 0x9db4e5ff, 0x9fb5e5ff, 0xa0b6e6ff, 0xa2b8e6ff, 0xa3b9e6ff, 0xa5bae6ff, + 0xa6bbe7ff, 0xa8bde7ff, 0xaabee7ff, 0xabbfe8ff, 0xadc1e8ff, 0xaec2e8ff, 0xb0c3e8ff, + 0xb2c4e9ff, 0xb3c6e9ff, 0xb5c7e9ff, 0xb7c8eaff, 0xb8caeaff, 0xbacbeaff, 0xbccceaff, + 0xbdcdebff, 0xbfcfebff, 0xc1d0ebff, 0xc2d1ecff, 0xc4d2ecff, 0xc6d4ecff, 0xc8d5ecff, + 0xc9d6edff, 0xcbd7edff, 0xcdd9edff, 0xcfdaedff, 0xd0dbeeff, 0xd2dceeff, 0xd4deeeff, + 0xd6dfeeff, 0xd7e0efff, 0xd9e1efff, 0xdbe3efff, 0xdde4efff, 0xdfe5f0ff, 0xe1e6f0ff, + 0xe2e8f0ff, 0xe4e9f0ff, 0xe6eaf1ff, 0xe8ebf1ff, 0xeaedf1ff, 0xeceef1ff, 0xeeeff2ff, + 0xeff0f2ff, 0xf1f2f2ff, 0xf2f1f1ff, 0xf2f0efff, 0xf1eeedff, 0xf1edebff, 0xf1ebe8ff, + 0xf1eae6ff, 0xf0e8e4ff, 0xf0e7e2ff, 0xf0e5e0ff, 0xefe4deff, 0xefe2dbff, 0xefe1d9ff, + 0xeedfd7ff, 0xeeded5ff, 0xeedcd3ff, 0xeddbd1ff, 0xedd9cfff, 0xedd8cdff, 0xecd6cbff, + 0xecd5c9ff, 0xecd3c7ff, 0xebd2c4ff, 0xebd0c2ff, 0xebcfc0ff, 0xeacdbeff, 0xeaccbcff, + 0xe9cabaff, 0xe9c9b8ff, 0xe9c7b6ff, 0xe8c5b4ff, 0xe8c4b3ff, 0xe8c2b1ff, 0xe7c1afff, + 0xe7bfadff, 0xe6beabff, 0xe6bca9ff, 0xe6bba7ff, 0xe5b9a5ff, 0xe5b8a3ff, 0xe4b6a1ff, + 0xe4b59fff, 0xe4b39eff, 0xe3b19cff, 0xe3b09aff, 0xe2ae98ff, 0xe2ad96ff, 0xe2ab94ff, + 0xe1aa93ff, 0xe1a891ff, 0xe0a78fff, 0xe0a58dff, 0xdfa38cff, 0xdfa28aff, 0xdfa088ff, + 0xde9f86ff, 0xde9d85ff, 0xdd9c83ff, 0xdd9a81ff, 0xdc9880ff, 0xdc977eff, 0xdb957cff, + 0xdb947bff, 0xda9279ff, 0xda9077ff, 0xd98f76ff, 0xd98d74ff, 0xd98c72ff, 0xd88a71ff, + 0xd8886fff, 0xd7876eff, 0xd7856cff, 0xd6846bff, 0xd68269ff, 0xd58068ff, 0xd47f66ff, + 0xd47d65ff, 0xd37b63ff, 0xd37a62ff, 0xd27860ff, 0xd2775fff, 0xd1755dff, 0xd1735cff, + 0xd0725aff, 0xd07059ff, 0xcf6e58ff, 0xcf6c56ff, 0xce6b55ff, 0xcd6953ff, 0xcd6752ff, + 0xcc6651ff, 0xcc644fff, 0xcb624eff, 0xcb604dff, 0xca5f4bff, 0xc95d4aff, 0xc95b49ff, + 0xc85948ff, 0xc85746ff, 0xc75645ff, 0xc65444ff, 0xc65243ff, 0xc55041ff, 0xc54e40ff, + 0xc44c3fff, 0xc34a3eff, 0xc3483dff, 0xc2463cff, 0xc1443aff, 0xc14239ff, 0xc04038ff, + 0xc03e37ff, 0xbf3c36ff, 0xbe3a35ff, 0xbe3734ff, 0xbd3533ff, 0xbc3232ff, 0xbc3031ff, + 0xbb2d30ff, 0xba2b2fff, 0xba282eff, 0xb9252dff, 0xb8222cff, 0xb81e2bff, 0xb71b2aff, + 0xb61629ff, 0xb51228ff, 0xb50c27ff, 0xb40426ff, + ], + Self::BlackBody => [ + 0x000000ff, 0x030101ff, 0x070201ff, 0x0a0302ff, 0x0d0402ff, 0x100503ff, 0x120603ff, + 0x140704ff, 0x160804ff, 0x180905ff, 0x1a0a05ff, 0x1b0b06ff, 0x1d0b06ff, 0x1e0c07ff, + 0x200d08ff, 0x210e08ff, 0x220f09ff, 0x240f09ff, 0x25100aff, 0x26100aff, 0x28110bff, + 0x29110bff, 0x2b120cff, 0x2c120cff, 0x2e120dff, 0x2f130dff, 0x31130eff, 0x32130eff, + 0x34140fff, 0x36140fff, 0x37140fff, 0x391510ff, 0x3a1510ff, 0x3c1510ff, 0x3e1611ff, + 0x3f1611ff, 0x411611ff, 0x421712ff, 0x441712ff, 0x461712ff, 0x471813ff, 0x491813ff, + 0x4b1813ff, 0x4c1914ff, 0x4e1914ff, 0x501914ff, 0x511914ff, 0x531a15ff, 0x551a15ff, + 0x561a15ff, 0x581a15ff, 0x5a1b16ff, 0x5b1b16ff, 0x5d1b16ff, 0x5f1b16ff, 0x611c17ff, + 0x621c17ff, 0x641c17ff, 0x661c17ff, 0x681d18ff, 0x691d18ff, 0x6b1d18ff, 0x6d1d18ff, + 0x6f1d19ff, 0x701e19ff, 0x721e19ff, 0x741e19ff, 0x761e1aff, 0x771e1aff, 0x791f1aff, + 0x7b1f1aff, 0x7d1f1bff, 0x7f1f1bff, 0x801f1bff, 0x821f1bff, 0x84201cff, 0x86201cff, + 0x88201cff, 0x89201cff, 0x8b201dff, 0x8d201dff, 0x8f201dff, 0x91211dff, 0x93211eff, + 0x94211eff, 0x96211eff, 0x98211fff, 0x9a211fff, 0x9c211fff, 0x9e211fff, 0xa02120ff, + 0xa12220ff, 0xa32220ff, 0xa52220ff, 0xa72221ff, 0xa92221ff, 0xab2221ff, 0xad2221ff, + 0xaf2222ff, 0xb12222ff, 0xb22222ff, 0xb32422ff, 0xb42622ff, 0xb52821ff, 0xb62a21ff, + 0xb72c21ff, 0xb82d21ff, 0xb92f20ff, 0xba3120ff, 0xbb3220ff, 0xbc341fff, 0xbd351fff, + 0xbe371fff, 0xbf381fff, 0xc03a1eff, 0xc13b1eff, 0xc23d1eff, 0xc33e1dff, 0xc4401dff, + 0xc5411cff, 0xc6421cff, 0xc7441cff, 0xc8451bff, 0xc9471bff, 0xca481aff, 0xcb491aff, + 0xcc4b19ff, 0xcd4c19ff, 0xce4d18ff, 0xcf4f18ff, 0xd05017ff, 0xd15217ff, 0xd25316ff, + 0xd35415ff, 0xd45515ff, 0xd55714ff, 0xd65813ff, 0xd75913ff, 0xd85b12ff, 0xd95c11ff, + 0xda5d10ff, 0xdb5f0fff, 0xdc600eff, 0xdd610dff, 0xde620cff, 0xdf640bff, 0xe06509ff, + 0xe16608ff, 0xe26807ff, 0xe36905ff, 0xe36b05ff, 0xe36d06ff, 0xe46e07ff, 0xe47007ff, + 0xe47208ff, 0xe47408ff, 0xe57609ff, 0xe5770aff, 0xe5790aff, 0xe57b0bff, 0xe57c0cff, + 0xe67e0cff, 0xe6800dff, 0xe6820eff, 0xe6830eff, 0xe6850fff, 0xe6870fff, 0xe78810ff, + 0xe78a11ff, 0xe78c11ff, 0xe78d12ff, 0xe78f13ff, 0xe79113ff, 0xe79214ff, 0xe89415ff, + 0xe89615ff, 0xe89716ff, 0xe89916ff, 0xe89a17ff, 0xe89c18ff, 0xe89e18ff, 0xe89f19ff, + 0xe8a11aff, 0xe8a21aff, 0xe9a41bff, 0xe9a61bff, 0xe9a71cff, 0xe9a91dff, 0xe9aa1dff, + 0xe9ac1eff, 0xe9ae1eff, 0xe9af1fff, 0xe9b120ff, 0xe9b220ff, 0xe9b421ff, 0xe9b522ff, + 0xe9b722ff, 0xe9b923ff, 0xe9ba23ff, 0xe9bc24ff, 0xe9bd25ff, 0xe9bf25ff, 0xe9c026ff, + 0xe9c226ff, 0xe9c327ff, 0xe9c528ff, 0xe9c728ff, 0xe9c829ff, 0xe8ca2aff, 0xe8cb2aff, + 0xe8cd2bff, 0xe8ce2bff, 0xe8d02cff, 0xe8d12dff, 0xe8d32dff, 0xe8d52eff, 0xe8d62fff, + 0xe8d82fff, 0xe7d930ff, 0xe7db30ff, 0xe7dc31ff, 0xe7de32ff, 0xe7df32ff, 0xe7e133ff, + 0xe6e234ff, 0xe6e434ff, 0xe6e535ff, 0xe7e73cff, 0xe9e745ff, 0xeae84eff, 0xece957ff, + 0xedea5eff, 0xeeeb66ff, 0xf0ec6dff, 0xf1ec75ff, 0xf2ed7cff, 0xf3ee83ff, 0xf5ef89ff, + 0xf6f090ff, 0xf7f197ff, 0xf8f19eff, 0xf9f2a4ff, 0xf9f3abff, 0xfaf4b1ff, 0xfbf5b8ff, + 0xfcf6beff, 0xfcf7c5ff, 0xfdf8cbff, 0xfdf9d2ff, 0xfef9d8ff, 0xfefadfff, 0xfefbe5ff, + 0xfffcecff, 0xfffdf2ff, 0xfffef9ff, 0xffffffff, + ], + Self::ExtendedKindLmann => [ + 0x000000ff, 0x050004ff, 0x090009ff, 0x0d010dff, 0x100111ff, 0x130115ff, 0x160118ff, + 0x18011bff, 0x1a011eff, 0x1b0222ff, 0x1c0226ff, 0x1d022aff, 0x1d022eff, 0x1e0232ff, + 0x1e0335ff, 0x1e0339ff, 0x1e033dff, 0x1d0341ff, 0x1d0344ff, 0x1c0348ff, 0x1b044bff, + 0x1b044fff, 0x1a0452ff, 0x190455ff, 0x180458ff, 0x17045cff, 0x16055fff, 0x150562ff, + 0x140565ff, 0x130567ff, 0x12056aff, 0x12056dff, 0x11056fff, 0x0e0573ff, 0x080677ff, + 0x060878ff, 0x060b78ff, 0x060f77ff, 0x061276ff, 0x061674ff, 0x051972ff, 0x051c70ff, + 0x051f6dff, 0x05216bff, 0x052468ff, 0x052665ff, 0x052863ff, 0x052a60ff, 0x052c5eff, + 0x042e5bff, 0x043059ff, 0x043157ff, 0x043355ff, 0x043453ff, 0x043651ff, 0x04374fff, + 0x04394dff, 0x043a4cff, 0x043b4aff, 0x033d49ff, 0x033e47ff, 0x033f46ff, 0x034145ff, + 0x034243ff, 0x034342ff, 0x034441ff, 0x034540ff, 0x03473fff, 0x03483dff, 0x04493cff, + 0x044a3aff, 0x044b38ff, 0x044d37ff, 0x044e35ff, 0x044f33ff, 0x045031ff, 0x04512fff, + 0x04522dff, 0x04542bff, 0x045529ff, 0x045627ff, 0x045724ff, 0x045822ff, 0x04591fff, + 0x045b1dff, 0x045c1aff, 0x055d18ff, 0x055e15ff, 0x055f12ff, 0x05600fff, 0x05610dff, + 0x05620aff, 0x056408ff, 0x056506ff, 0x066605ff, 0x086705ff, 0x0a6805ff, 0x0b6905ff, + 0x0d6a05ff, 0x0f6b05ff, 0x116c05ff, 0x146d05ff, 0x166e05ff, 0x1a6f05ff, 0x1d7005ff, + 0x207005ff, 0x247105ff, 0x287205ff, 0x2b7306ff, 0x2f7406ff, 0x337406ff, 0x377506ff, + 0x3b7606ff, 0x3f7606ff, 0x437706ff, 0x477706ff, 0x4c7806ff, 0x507806ff, 0x547906ff, + 0x587906ff, 0x5c7a06ff, 0x617a06ff, 0x657a06ff, 0x697b06ff, 0x6d7b06ff, 0x717b06ff, + 0x767b06ff, 0x7a7b06ff, 0x7e7b06ff, 0x827b06ff, 0x877b07ff, 0x8b7b07ff, 0x907b07ff, + 0x957a07ff, 0x9a7a07ff, 0xa07908ff, 0xa57808ff, 0xab7708ff, 0xb17608ff, 0xb77509ff, + 0xbd7309ff, 0xc47109ff, 0xca6f0aff, 0xd16c0aff, 0xd8690aff, 0xde660bff, 0xe5620bff, + 0xec5e0bff, 0xf35a0cff, 0xf45b1bff, 0xf55c25ff, 0xf55e2eff, 0xf56034ff, 0xf6623aff, + 0xf6633fff, 0xf66543ff, 0xf66747ff, 0xf6694aff, 0xf66b4dff, 0xf76d4fff, 0xf76f53ff, + 0xf77057ff, 0xf7725bff, 0xf77360ff, 0xf87565ff, 0xf8766aff, 0xf87870ff, 0xf87976ff, + 0xf97a7bff, 0xf97b81ff, 0xf97d87ff, 0xf97e8dff, 0xf97f93ff, 0xf98199ff, 0xf9829eff, + 0xf983a4ff, 0xf984a9ff, 0xf985afff, 0xf986b4ff, 0xf987baff, 0xf989bfff, 0xf98ac4ff, + 0xf98bc9ff, 0xfa8cceff, 0xfa8dd3ff, 0xfa8ed8ff, 0xfa8fddff, 0xfa90e1ff, 0xfa91e6ff, + 0xfa92ebff, 0xfa93efff, 0xfa94f3ff, 0xfa95f8ff, 0xf898faff, 0xf59bfaff, 0xf29ffaff, + 0xefa2fbff, 0xeca5fbff, 0xeaa8fbff, 0xe8abfbff, 0xe6adfbff, 0xe5b0fbff, 0xe3b2fbff, + 0xe2b4fbff, 0xe1b6fbff, 0xe0b8fcff, 0xe0bafcff, 0xdfbcfcff, 0xdfbefcff, 0xdebffcff, + 0xdec1fcff, 0xdec3fcff, 0xdec4fcff, 0xdfc6fcff, 0xdfc7fcff, 0xdfc9fcff, 0xe0cafcff, + 0xe0ccfdff, 0xe1cdfdff, 0xe2cffdff, 0xe2d0fdff, 0xe3d1fdff, 0xe4d3fdff, 0xe5d4fdff, + 0xe5d5fdff, 0xe6d7fdff, 0xe7d8fdff, 0xe7dafdff, 0xe7dbfdff, 0xe8ddfdff, 0xe8defdff, + 0xe8e0fdff, 0xe8e1feff, 0xe9e3feff, 0xe9e4feff, 0xe9e6feff, 0xe9e7feff, 0xe9e9feff, + 0xe9eafeff, 0xeaecfeff, 0xeaedfeff, 0xeaeffeff, 0xebf0feff, 0xebf2feff, 0xecf3feff, + 0xedf5feff, 0xedf6feff, 0xeef7feff, 0xeff9feff, 0xf0fafeff, 0xf2fbfeff, 0xf3fcfeff, + 0xf5fdffff, 0xf8feffff, 0xfbffffff, 0xffffffff, + ], + Self::KindLmann => [ + 0x000000ff, 0x050004ff, 0x090008ff, 0x0d010dff, 0x110110ff, 0x140114ff, 0x160117ff, + 0x19011aff, 0x1b011dff, 0x1d0220ff, 0x1e0223ff, 0x1f0226ff, 0x20022aff, 0x21022dff, + 0x220230ff, 0x230233ff, 0x240336ff, 0x250339ff, 0x25033cff, 0x26033fff, 0x260342ff, + 0x260344ff, 0x270347ff, 0x27044aff, 0x27044dff, 0x270450ff, 0x270453ff, 0x270456ff, + 0x270459ff, 0x27045dff, 0x270560ff, 0x270563ff, 0x260566ff, 0x26056aff, 0x25056dff, + 0x250570ff, 0x240674ff, 0x230677ff, 0x22067bff, 0x21067eff, 0x200681ff, 0x200684ff, + 0x1f0688ff, 0x1e078bff, 0x1d078eff, 0x1c0791ff, 0x1b0794ff, 0x1a0797ff, 0x19079aff, + 0x19079dff, 0x1808a0ff, 0x1808a3ff, 0x1408a6ff, 0x0f08aaff, 0x0809aeff, 0x080cafff, + 0x080fafff, 0x0813afff, 0x0816afff, 0x0819afff, 0x081caeff, 0x0820adff, 0x0823acff, + 0x0826aaff, 0x0829a8ff, 0x082ba6ff, 0x082ea5ff, 0x0831a3ff, 0x0833a0ff, 0x08359eff, + 0x08389cff, 0x073a9aff, 0x073c98ff, 0x073e95ff, 0x074093ff, 0x074291ff, 0x07448fff, + 0x07468dff, 0x07478bff, 0x074989ff, 0x074b87ff, 0x064c85ff, 0x064e84ff, 0x065082ff, + 0x065180ff, 0x06537fff, 0x06547dff, 0x06567bff, 0x06577aff, 0x065878ff, 0x065a77ff, + 0x065b76ff, 0x065d74ff, 0x065e73ff, 0x055f72ff, 0x066071ff, 0x056270ff, 0x05636eff, + 0x05646dff, 0x05666cff, 0x05676bff, 0x05686aff, 0x056969ff, 0x056b68ff, 0x056c67ff, + 0x056d66ff, 0x056e65ff, 0x057064ff, 0x057163ff, 0x057262ff, 0x067360ff, 0x06755fff, + 0x06765eff, 0x06775cff, 0x06785bff, 0x067a59ff, 0x067b58ff, 0x067c56ff, 0x067d54ff, + 0x067f53ff, 0x068051ff, 0x06814fff, 0x06824dff, 0x06844bff, 0x06854aff, 0x078648ff, + 0x068746ff, 0x078943ff, 0x078a41ff, 0x078b3fff, 0x078c3dff, 0x078e3bff, 0x078f38ff, + 0x079036ff, 0x079134ff, 0x079331ff, 0x07942fff, 0x07952cff, 0x07962aff, 0x079727ff, + 0x079925ff, 0x079a22ff, 0x089b1fff, 0x089c1dff, 0x089d1aff, 0x089f17ff, 0x08a014ff, + 0x08a112ff, 0x08a20fff, 0x08a30cff, 0x08a50aff, 0x08a608ff, 0x0ca708ff, 0x0fa808ff, + 0x11a908ff, 0x12aa08ff, 0x14ab08ff, 0x16ad08ff, 0x18ae08ff, 0x1aaf08ff, 0x1db008ff, + 0x20b109ff, 0x23b209ff, 0x26b309ff, 0x29b409ff, 0x2db509ff, 0x30b609ff, 0x34b709ff, + 0x38b809ff, 0x3bb909ff, 0x3fba09ff, 0x43bb09ff, 0x47bc09ff, 0x4bbd09ff, 0x4fbe09ff, + 0x53be09ff, 0x57bf09ff, 0x5bc009ff, 0x5fc109ff, 0x63c109ff, 0x67c209ff, 0x6bc309ff, + 0x6fc409ff, 0x74c409ff, 0x78c509ff, 0x7cc60aff, 0x80c60aff, 0x85c70aff, 0x89c70aff, + 0x8dc80aff, 0x91c80aff, 0x96c90aff, 0x9ac90aff, 0x9eca0aff, 0xa3ca0aff, 0xa7ca0aff, + 0xabcb0aff, 0xafcb0aff, 0xb4cb0aff, 0xb8cc0aff, 0xbccc0aff, 0xc1cc0aff, 0xc5cd0aff, + 0xc9cd0aff, 0xcdcd0aff, 0xd1cd0aff, 0xd6cd0aff, 0xdacd0bff, 0xdfcd0bff, 0xe4cd0bff, + 0xe9cd0bff, 0xedcd0bff, 0xf3cd0cff, 0xf6cc39ff, 0xf7cd56ff, 0xf8cd69ff, 0xf9ce77ff, + 0xf9cf83ff, 0xfacf8dff, 0xfad095ff, 0xfad19dff, 0xfbd2a3ff, 0xfbd3a9ff, 0xfbd4aeff, + 0xfbd6b3ff, 0xfcd7b8ff, 0xfcd8bcff, 0xfcd9c0ff, 0xfcdac3ff, 0xfcdcc7ff, 0xfcddcaff, + 0xfddecdff, 0xfde0d0ff, 0xfde1d3ff, 0xfde2d5ff, 0xfde3d8ff, 0xfde5daff, 0xfde6ddff, + 0xfde8dfff, 0xfee9e1ff, 0xfeeae3ff, 0xfeece5ff, 0xfeede7ff, 0xfeeee9ff, 0xfef0ebff, + 0xfef1edff, 0xfef2efff, 0xfef4f1ff, 0xfef5f3ff, 0xfef7f5ff, 0xfff8f6ff, 0xfff9f8ff, + 0xfffbfaff, 0xfffcfcff, 0xfffefdff, 0xffffffff, + ], + Self::SmoothCoolWarm => [ + 0x3b4cc0ff, 0x3c4ec2ff, 0x3d50c3ff, 0x3e51c5ff, 0x3f53c7ff, 0x4055c8ff, 0x4257caff, + 0x4358cbff, 0x445accff, 0x455cceff, 0x465ecfff, 0x485fd1ff, 0x4961d2ff, 0x4a63d4ff, + 0x4b64d5ff, 0x4c66d6ff, 0x4e68d8ff, 0x4f6ad9ff, 0x506bdaff, 0x516ddbff, 0x536fddff, + 0x5470deff, 0x5572dfff, 0x5674e0ff, 0x5875e2ff, 0x5977e3ff, 0x5a78e4ff, 0x5b7ae5ff, + 0x5d7ce6ff, 0x5e7de7ff, 0x5f7fe8ff, 0x6181e9ff, 0x6282eaff, 0x6384ebff, 0x6585ecff, + 0x6687edff, 0x6788eeff, 0x698aefff, 0x6a8cf0ff, 0x6b8df0ff, 0x6d8ff1ff, 0x6e90f2ff, + 0x6f92f3ff, 0x7193f4ff, 0x7295f4ff, 0x7396f5ff, 0x7598f6ff, 0x7699f6ff, 0x779af7ff, + 0x799cf8ff, 0x7a9df8ff, 0x7b9ff9ff, 0x7da0f9ff, 0x7ea2faff, 0x80a3faff, 0x81a4fbff, + 0x82a6fbff, 0x84a7fcff, 0x85a8fcff, 0x86aafcff, 0x88abfdff, 0x89acfdff, 0x8baefdff, + 0x8caffeff, 0x8db0feff, 0x8fb1feff, 0x90b2feff, 0x92b4feff, 0x93b5ffff, 0x94b6ffff, + 0x96b7ffff, 0x97b8ffff, 0x99baffff, 0x9abbffff, 0x9bbcffff, 0x9dbdffff, 0x9ebeffff, + 0x9fbfffff, 0xa1c0ffff, 0xa2c1ffff, 0xa3c2feff, 0xa5c3feff, 0xa6c4feff, 0xa8c5feff, + 0xa9c6feff, 0xaac7fdff, 0xacc8fdff, 0xadc9fdff, 0xaec9fcff, 0xb0cafcff, 0xb1cbfcff, + 0xb2ccfbff, 0xb4cdfbff, 0xb5cefaff, 0xb6cefaff, 0xb7cff9ff, 0xb9d0f9ff, 0xbad1f8ff, + 0xbbd1f8ff, 0xbdd2f7ff, 0xbed3f6ff, 0xbfd3f6ff, 0xc0d4f5ff, 0xc1d4f4ff, 0xc3d5f4ff, + 0xc4d6f3ff, 0xc5d6f2ff, 0xc6d7f1ff, 0xc8d7f1ff, 0xc9d8f0ff, 0xcad8efff, 0xcbd8eeff, + 0xccd9edff, 0xcdd9ecff, 0xcedaebff, 0xd0daeaff, 0xd1dae9ff, 0xd2dbe8ff, 0xd3dbe7ff, + 0xd4dbe6ff, 0xd5dbe5ff, 0xd6dce4ff, 0xd7dce3ff, 0xd8dce2ff, 0xd9dce1ff, 0xdadce0ff, + 0xdbdddeff, 0xdcddddff, 0xdddcdcff, 0xdedcdbff, 0xdfdcd9ff, 0xe1dbd8ff, 0xe2dad6ff, + 0xe3dad5ff, 0xe4d9d3ff, 0xe5d9d2ff, 0xe5d8d1ff, 0xe6d8cfff, 0xe7d7ceff, 0xe8d6ccff, + 0xe9d6cbff, 0xead5c9ff, 0xebd4c8ff, 0xebd3c6ff, 0xecd3c5ff, 0xedd2c3ff, 0xeed1c2ff, + 0xeed0c0ff, 0xefcfbfff, 0xefcebdff, 0xf0cebbff, 0xf1cdbaff, 0xf1ccb8ff, 0xf2cbb7ff, + 0xf2cab5ff, 0xf3c9b4ff, 0xf3c8b2ff, 0xf4c7b1ff, 0xf4c6afff, 0xf4c5adff, 0xf5c4acff, + 0xf5c3aaff, 0xf5c1a9ff, 0xf6c0a7ff, 0xf6bfa6ff, 0xf6bea4ff, 0xf6bda2ff, 0xf7bca1ff, + 0xf7ba9fff, 0xf7b99eff, 0xf7b89cff, 0xf7b79bff, 0xf7b599ff, 0xf7b497ff, 0xf7b396ff, + 0xf7b194ff, 0xf7b093ff, 0xf7af91ff, 0xf7ad90ff, 0xf7ac8eff, 0xf7ab8cff, 0xf7a98bff, + 0xf7a889ff, 0xf7a688ff, 0xf6a586ff, 0xf6a385ff, 0xf6a283ff, 0xf6a081ff, 0xf59f80ff, + 0xf59d7eff, 0xf59c7dff, 0xf49a7bff, 0xf4997aff, 0xf49778ff, 0xf39577ff, 0xf39475ff, + 0xf29274ff, 0xf29072ff, 0xf18f71ff, 0xf18d6fff, 0xf08b6eff, 0xf08a6cff, 0xef886bff, + 0xee8669ff, 0xee8568ff, 0xed8366ff, 0xed8165ff, 0xec7f63ff, 0xeb7d62ff, 0xea7c60ff, + 0xea7a5fff, 0xe9785dff, 0xe8765cff, 0xe7745bff, 0xe67259ff, 0xe57058ff, 0xe56f56ff, + 0xe46d55ff, 0xe36b54ff, 0xe26952ff, 0xe16751ff, 0xe0654fff, 0xdf634eff, 0xde614dff, + 0xdd5f4bff, 0xdc5d4aff, 0xdb5b49ff, 0xda5947ff, 0xd85646ff, 0xd75445ff, 0xd65244ff, + 0xd55042ff, 0xd44e41ff, 0xd34c40ff, 0xd1493eff, 0xd0473dff, 0xcf453cff, 0xce433bff, + 0xcc4039ff, 0xcb3e38ff, 0xca3b37ff, 0xc83936ff, 0xc73635ff, 0xc63434ff, 0xc43132ff, + 0xc32e31ff, 0xc12b30ff, 0xc0282fff, 0xbf252eff, 0xbd222dff, 0xbc1e2cff, 0xba1a2bff, + 0xb91629ff, 0xb71128ff, 0xb60b27ff, 0xb40426ff, + ], + }; + + Color::create_palette(&xs) + .try_into() + .expect("Vector length is not 256") } } - -pub const TURBO: [[u8; 3]; 256] = [ - [48, 18, 59], - [50, 21, 67], - [51, 24, 74], - [52, 27, 81], - [53, 30, 88], - [54, 33, 95], - [55, 36, 102], - [56, 39, 109], - [57, 42, 115], - [58, 45, 121], - [59, 47, 128], - [60, 50, 134], - [61, 53, 139], - [62, 56, 145], - [63, 59, 151], - [63, 62, 156], - [64, 64, 162], - [65, 67, 167], - [65, 70, 172], - [66, 73, 177], - [66, 75, 181], - [67, 78, 186], - [68, 81, 191], - [68, 84, 195], - [68, 86, 199], - [69, 89, 203], - [69, 92, 207], - [69, 94, 211], - [70, 97, 214], - [70, 100, 218], - [70, 102, 221], - [70, 105, 224], - [70, 107, 227], - [71, 110, 230], - [71, 113, 233], - [71, 115, 235], - [71, 118, 238], - [71, 120, 240], - [71, 123, 242], - [70, 125, 244], - [70, 128, 246], - [70, 130, 248], - [70, 133, 250], - [70, 135, 251], - [69, 138, 252], - [69, 140, 253], - [68, 143, 254], - [67, 145, 254], - [66, 148, 255], - [65, 150, 255], - [64, 153, 255], - [62, 155, 254], - [61, 158, 254], - [59, 160, 253], - [58, 163, 252], - [56, 165, 251], - [55, 168, 250], - [53, 171, 248], - [51, 173, 247], - [49, 175, 245], - [47, 178, 244], - [46, 180, 242], - [44, 183, 240], - [42, 185, 238], - [40, 188, 235], - [39, 190, 233], - [37, 192, 231], - [35, 195, 228], - [34, 197, 226], - [32, 199, 223], - [31, 201, 221], - [30, 203, 218], - [28, 205, 216], - [27, 208, 213], - [26, 210, 210], - [26, 212, 208], - [25, 213, 205], - [24, 215, 202], - [24, 217, 200], - [24, 219, 197], - [24, 221, 194], - [24, 222, 192], - [24, 224, 189], - [25, 226, 187], - [25, 227, 185], - [26, 228, 182], - [28, 230, 180], - [29, 231, 178], - [31, 233, 175], - [32, 234, 172], - [34, 235, 170], - [37, 236, 167], - [39, 238, 164], - [42, 239, 161], - [44, 240, 158], - [47, 241, 155], - [50, 242, 152], - [53, 243, 148], - [56, 244, 145], - [60, 245, 142], - [63, 246, 138], - [67, 247, 135], - [70, 248, 132], - [74, 248, 128], - [78, 249, 125], - [82, 250, 122], - [85, 250, 118], - [89, 251, 115], - [93, 252, 111], - [97, 252, 108], - [101, 253, 105], - [105, 253, 102], - [109, 254, 98], - [113, 254, 95], - [117, 254, 92], - [121, 254, 89], - [125, 255, 86], - [128, 255, 83], - [132, 255, 81], - [136, 255, 78], - [139, 255, 75], - [143, 255, 73], - [146, 255, 71], - [150, 254, 68], - [153, 254, 66], - [156, 254, 64], - [159, 253, 63], - [161, 253, 61], - [164, 252, 60], - [167, 252, 58], - [169, 251, 57], - [172, 251, 56], - [175, 250, 55], - [177, 249, 54], - [180, 248, 54], - [183, 247, 53], - [185, 246, 53], - [188, 245, 52], - [190, 244, 52], - [193, 243, 52], - [195, 241, 52], - [198, 240, 52], - [200, 239, 52], - [203, 237, 52], - [205, 236, 52], - [208, 234, 52], - [210, 233, 53], - [212, 231, 53], - [215, 229, 53], - [217, 228, 54], - [219, 226, 54], - [221, 224, 55], - [223, 223, 55], - [225, 221, 55], - [227, 219, 56], - [229, 217, 56], - [231, 215, 57], - [233, 213, 57], - [235, 211, 57], - [236, 209, 58], - [238, 207, 58], - [239, 205, 58], - [241, 203, 58], - [242, 201, 58], - [244, 199, 58], - [245, 197, 58], - [246, 195, 58], - [247, 193, 58], - [248, 190, 57], - [249, 188, 57], - [250, 186, 57], - [251, 184, 56], - [251, 182, 55], - [252, 179, 54], - [252, 177, 54], - [253, 174, 53], - [253, 172, 52], - [254, 169, 51], - [254, 167, 50], - [254, 164, 49], - [254, 161, 48], - [254, 158, 47], - [254, 155, 45], - [254, 153, 44], - [254, 150, 43], - [254, 147, 42], - [254, 144, 41], - [253, 141, 39], - [253, 138, 38], - [252, 135, 37], - [252, 132, 35], - [251, 129, 34], - [251, 126, 33], - [250, 123, 31], - [249, 120, 30], - [249, 117, 29], - [248, 114, 28], - [247, 111, 26], - [246, 108, 25], - [245, 105, 24], - [244, 102, 23], - [243, 99, 21], - [242, 96, 20], - [241, 93, 19], - [240, 91, 18], - [239, 88, 17], - [237, 85, 16], - [236, 83, 15], - [235, 80, 14], - [234, 78, 13], - [232, 75, 12], - [231, 73, 12], - [229, 71, 11], - [228, 69, 10], - [226, 67, 10], - [225, 65, 9], - [223, 63, 8], - [221, 61, 8], - [220, 59, 7], - [218, 57, 7], - [216, 55, 6], - [214, 53, 6], - [212, 51, 5], - [210, 49, 5], - [208, 47, 5], - [206, 45, 4], - [204, 43, 4], - [202, 42, 4], - [200, 40, 3], - [197, 38, 3], - [195, 37, 3], - [193, 35, 2], - [190, 33, 2], - [188, 32, 2], - [185, 30, 2], - [183, 29, 2], - [180, 27, 1], - [178, 26, 1], - [175, 24, 1], - [172, 23, 1], - [169, 22, 1], - [167, 20, 1], - [164, 19, 1], - [161, 18, 1], - [158, 16, 1], - [155, 15, 1], - [152, 14, 1], - [149, 13, 1], - [146, 11, 1], - [142, 10, 1], - [139, 9, 2], - [136, 8, 2], - [133, 7, 2], - [129, 6, 2], - [126, 5, 2], - [122, 4, 3], -]; - -pub const INFERNO: [[u8; 3]; 256] = [ - [0, 0, 4], - [1, 0, 5], - [1, 1, 6], - [1, 1, 8], - [2, 1, 10], - [2, 2, 12], - [2, 2, 14], - [3, 2, 16], - [4, 3, 18], - [4, 3, 20], - [5, 4, 23], - [6, 4, 25], - [7, 5, 27], - [8, 5, 29], - [9, 6, 31], - [10, 7, 34], - [11, 7, 36], - [12, 8, 38], - [13, 8, 41], - [14, 9, 43], - [16, 9, 45], - [17, 10, 48], - [18, 10, 50], - [20, 11, 52], - [21, 11, 55], - [22, 11, 57], - [24, 12, 60], - [25, 12, 62], - [27, 12, 65], - [28, 12, 67], - [30, 12, 69], - [31, 12, 72], - [33, 12, 74], - [35, 12, 76], - [36, 12, 79], - [38, 12, 81], - [40, 11, 83], - [41, 11, 85], - [43, 11, 87], - [45, 11, 89], - [47, 10, 91], - [49, 10, 92], - [50, 10, 94], - [52, 10, 95], - [54, 9, 97], - [56, 9, 98], - [57, 9, 99], - [59, 9, 100], - [61, 9, 101], - [62, 9, 102], - [64, 10, 103], - [66, 10, 104], - [68, 10, 104], - [69, 10, 105], - [71, 11, 106], - [73, 11, 106], - [74, 12, 107], - [76, 12, 107], - [77, 13, 108], - [79, 13, 108], - [81, 14, 108], - [82, 14, 109], - [84, 15, 109], - [85, 15, 109], - [87, 16, 110], - [89, 16, 110], - [90, 17, 110], - [92, 18, 110], - [93, 18, 110], - [95, 19, 110], - [97, 19, 110], - [98, 20, 110], - [100, 21, 110], - [101, 21, 110], - [103, 22, 110], - [105, 22, 110], - [106, 23, 110], - [108, 24, 110], - [109, 24, 110], - [111, 25, 110], - [113, 25, 110], - [114, 26, 110], - [116, 26, 110], - [117, 27, 110], - [119, 28, 109], - [120, 28, 109], - [122, 29, 109], - [124, 29, 109], - [125, 30, 109], - [127, 30, 108], - [128, 31, 108], - [130, 32, 108], - [132, 32, 107], - [133, 33, 107], - [135, 33, 107], - [136, 34, 106], - [138, 34, 106], - [140, 35, 105], - [141, 35, 105], - [143, 36, 105], - [144, 37, 104], - [146, 37, 104], - [147, 38, 103], - [149, 38, 103], - [151, 39, 102], - [152, 39, 102], - [154, 40, 101], - [155, 41, 100], - [157, 41, 100], - [159, 42, 99], - [160, 42, 99], - [162, 43, 98], - [163, 44, 97], - [165, 44, 96], - [166, 45, 96], - [168, 46, 95], - [169, 46, 94], - [171, 47, 94], - [173, 48, 93], - [174, 48, 92], - [176, 49, 91], - [177, 50, 90], - [179, 50, 90], - [180, 51, 89], - [182, 52, 88], - [183, 53, 87], - [185, 53, 86], - [186, 54, 85], - [188, 55, 84], - [189, 56, 83], - [191, 57, 82], - [192, 58, 81], - [193, 58, 80], - [195, 59, 79], - [196, 60, 78], - [198, 61, 77], - [199, 62, 76], - [200, 63, 75], - [202, 64, 74], - [203, 65, 73], - [204, 66, 72], - [206, 67, 71], - [207, 68, 70], - [208, 69, 69], - [210, 70, 68], - [211, 71, 67], - [212, 72, 66], - [213, 74, 65], - [215, 75, 63], - [216, 76, 62], - [217, 77, 61], - [218, 78, 60], - [219, 80, 59], - [221, 81, 58], - [222, 82, 56], - [223, 83, 55], - [224, 85, 54], - [225, 86, 53], - [226, 87, 52], - [227, 89, 51], - [228, 90, 49], - [229, 92, 48], - [230, 93, 47], - [231, 94, 46], - [232, 96, 45], - [233, 97, 43], - [234, 99, 42], - [235, 100, 41], - [235, 102, 40], - [236, 103, 38], - [237, 105, 37], - [238, 106, 36], - [239, 108, 35], - [239, 110, 33], - [240, 111, 32], - [241, 113, 31], - [241, 115, 29], - [242, 116, 28], - [243, 118, 27], - [243, 120, 25], - [244, 121, 24], - [245, 123, 23], - [245, 125, 21], - [246, 126, 20], - [246, 128, 19], - [247, 130, 18], - [247, 132, 16], - [248, 133, 15], - [248, 135, 14], - [248, 137, 12], - [249, 139, 11], - [249, 140, 10], - [249, 142, 9], - [250, 144, 8], - [250, 146, 7], - [250, 148, 7], - [251, 150, 6], - [251, 151, 6], - [251, 153, 6], - [251, 155, 6], - [251, 157, 7], - [252, 159, 7], - [252, 161, 8], - [252, 163, 9], - [252, 165, 10], - [252, 166, 12], - [252, 168, 13], - [252, 170, 15], - [252, 172, 17], - [252, 174, 18], - [252, 176, 20], - [252, 178, 22], - [252, 180, 24], - [251, 182, 26], - [251, 184, 29], - [251, 186, 31], - [251, 188, 33], - [251, 190, 35], - [250, 192, 38], - [250, 194, 40], - [250, 196, 42], - [250, 198, 45], - [249, 199, 47], - [249, 201, 50], - [249, 203, 53], - [248, 205, 55], - [248, 207, 58], - [247, 209, 61], - [247, 211, 64], - [246, 213, 67], - [246, 215, 70], - [245, 217, 73], - [245, 219, 76], - [244, 221, 79], - [244, 223, 83], - [244, 225, 86], - [243, 227, 90], - [243, 229, 93], - [242, 230, 97], - [242, 232, 101], - [242, 234, 105], - [241, 236, 109], - [241, 237, 113], - [241, 239, 117], - [241, 241, 121], - [242, 242, 125], - [242, 244, 130], - [243, 245, 134], - [243, 246, 138], - [244, 248, 142], - [245, 249, 146], - [246, 250, 150], - [248, 251, 154], - [249, 252, 157], - [250, 253, 161], - [252, 255, 164], -]; - -pub const PLASMA: [[u8; 3]; 256] = [ - [13, 8, 135], - [16, 7, 136], - [19, 7, 137], - [22, 7, 138], - [25, 6, 140], - [27, 6, 141], - [29, 6, 142], - [32, 6, 143], - [34, 6, 144], - [36, 6, 145], - [38, 5, 145], - [40, 5, 146], - [42, 5, 147], - [44, 5, 148], - [46, 5, 149], - [47, 5, 150], - [49, 5, 151], - [51, 5, 151], - [53, 4, 152], - [55, 4, 153], - [56, 4, 154], - [58, 4, 154], - [60, 4, 155], - [62, 4, 156], - [63, 4, 156], - [65, 4, 157], - [67, 3, 158], - [68, 3, 158], - [70, 3, 159], - [72, 3, 159], - [73, 3, 160], - [75, 3, 161], - [76, 2, 161], - [78, 2, 162], - [80, 2, 162], - [81, 2, 163], - [83, 2, 163], - [85, 2, 164], - [86, 1, 164], - [88, 1, 164], - [89, 1, 165], - [91, 1, 165], - [92, 1, 166], - [94, 1, 166], - [96, 1, 166], - [97, 0, 167], - [99, 0, 167], - [100, 0, 167], - [102, 0, 167], - [103, 0, 168], - [105, 0, 168], - [106, 0, 168], - [108, 0, 168], - [110, 0, 168], - [111, 0, 168], - [113, 0, 168], - [114, 1, 168], - [116, 1, 168], - [117, 1, 168], - [119, 1, 168], - [120, 1, 168], - [122, 2, 168], - [123, 2, 168], - [125, 3, 168], - [126, 3, 168], - [128, 4, 168], - [129, 4, 167], - [131, 5, 167], - [132, 5, 167], - [134, 6, 166], - [135, 7, 166], - [136, 8, 166], - [138, 9, 165], - [139, 10, 165], - [141, 11, 165], - [142, 12, 164], - [143, 13, 164], - [145, 14, 163], - [146, 15, 163], - [148, 16, 162], - [149, 17, 161], - [150, 19, 161], - [152, 20, 160], - [153, 21, 159], - [154, 22, 159], - [156, 23, 158], - [157, 24, 157], - [158, 25, 157], - [160, 26, 156], - [161, 27, 155], - [162, 29, 154], - [163, 30, 154], - [165, 31, 153], - [166, 32, 152], - [167, 33, 151], - [168, 34, 150], - [170, 35, 149], - [171, 36, 148], - [172, 38, 148], - [173, 39, 147], - [174, 40, 146], - [176, 41, 145], - [177, 42, 144], - [178, 43, 143], - [179, 44, 142], - [180, 46, 141], - [181, 47, 140], - [182, 48, 139], - [183, 49, 138], - [184, 50, 137], - [186, 51, 136], - [187, 52, 136], - [188, 53, 135], - [189, 55, 134], - [190, 56, 133], - [191, 57, 132], - [192, 58, 131], - [193, 59, 130], - [194, 60, 129], - [195, 61, 128], - [196, 62, 127], - [197, 64, 126], - [198, 65, 125], - [199, 66, 124], - [200, 67, 123], - [201, 68, 122], - [202, 69, 122], - [203, 70, 121], - [204, 71, 120], - [204, 73, 119], - [205, 74, 118], - [206, 75, 117], - [207, 76, 116], - [208, 77, 115], - [209, 78, 114], - [210, 79, 113], - [211, 81, 113], - [212, 82, 112], - [213, 83, 111], - [213, 84, 110], - [214, 85, 109], - [215, 86, 108], - [216, 87, 107], - [217, 88, 106], - [218, 90, 106], - [218, 91, 105], - [219, 92, 104], - [220, 93, 103], - [221, 94, 102], - [222, 95, 101], - [222, 97, 100], - [223, 98, 99], - [224, 99, 99], - [225, 100, 98], - [226, 101, 97], - [226, 102, 96], - [227, 104, 95], - [228, 105, 94], - [229, 106, 93], - [229, 107, 93], - [230, 108, 92], - [231, 110, 91], - [231, 111, 90], - [232, 112, 89], - [233, 113, 88], - [233, 114, 87], - [234, 116, 87], - [235, 117, 86], - [235, 118, 85], - [236, 119, 84], - [237, 121, 83], - [237, 122, 82], - [238, 123, 81], - [239, 124, 81], - [239, 126, 80], - [240, 127, 79], - [240, 128, 78], - [241, 129, 77], - [241, 131, 76], - [242, 132, 75], - [243, 133, 75], - [243, 135, 74], - [244, 136, 73], - [244, 137, 72], - [245, 139, 71], - [245, 140, 70], - [246, 141, 69], - [246, 143, 68], - [247, 144, 68], - [247, 145, 67], - [247, 147, 66], - [248, 148, 65], - [248, 149, 64], - [249, 151, 63], - [249, 152, 62], - [249, 154, 62], - [250, 155, 61], - [250, 156, 60], - [250, 158, 59], - [251, 159, 58], - [251, 161, 57], - [251, 162, 56], - [252, 163, 56], - [252, 165, 55], - [252, 166, 54], - [252, 168, 53], - [252, 169, 52], - [253, 171, 51], - [253, 172, 51], - [253, 174, 50], - [253, 175, 49], - [253, 177, 48], - [253, 178, 47], - [253, 180, 47], - [253, 181, 46], - [254, 183, 45], - [254, 184, 44], - [254, 186, 44], - [254, 187, 43], - [254, 189, 42], - [254, 190, 42], - [254, 192, 41], - [253, 194, 41], - [253, 195, 40], - [253, 197, 39], - [253, 198, 39], - [253, 200, 39], - [253, 202, 38], - [253, 203, 38], - [252, 205, 37], - [252, 206, 37], - [252, 208, 37], - [252, 210, 37], - [251, 211, 36], - [251, 213, 36], - [251, 215, 36], - [250, 216, 36], - [250, 218, 36], - [249, 220, 36], - [249, 221, 37], - [248, 223, 37], - [248, 225, 37], - [247, 226, 37], - [247, 228, 37], - [246, 230, 38], - [246, 232, 38], - [245, 233, 38], - [245, 235, 39], - [244, 237, 39], - [243, 238, 39], - [243, 240, 39], - [242, 242, 39], - [241, 244, 38], - [241, 245, 37], - [240, 247, 36], - [240, 249, 33], -]; - -pub const VIRIDIS: [[u8; 3]; 256] = [ - [68, 1, 84], - [68, 2, 86], - [69, 4, 87], - [69, 5, 89], - [70, 7, 90], - [70, 8, 92], - [70, 10, 93], - [70, 11, 94], - [71, 13, 96], - [71, 14, 97], - [71, 16, 99], - [71, 17, 100], - [71, 19, 101], - [72, 20, 103], - [72, 22, 104], - [72, 23, 105], - [72, 24, 106], - [72, 26, 108], - [72, 27, 109], - [72, 28, 110], - [72, 29, 111], - [72, 31, 112], - [72, 32, 113], - [72, 33, 115], - [72, 35, 116], - [72, 36, 117], - [72, 37, 118], - [72, 38, 119], - [72, 40, 120], - [72, 41, 121], - [71, 42, 122], - [71, 44, 122], - [71, 45, 123], - [71, 46, 124], - [71, 47, 125], - [70, 48, 126], - [70, 50, 126], - [70, 51, 127], - [70, 52, 128], - [69, 53, 129], - [69, 55, 129], - [69, 56, 130], - [68, 57, 131], - [68, 58, 131], - [68, 59, 132], - [67, 61, 132], - [67, 62, 133], - [66, 63, 133], - [66, 64, 134], - [66, 65, 134], - [65, 66, 135], - [65, 68, 135], - [64, 69, 136], - [64, 70, 136], - [63, 71, 136], - [63, 72, 137], - [62, 73, 137], - [62, 74, 137], - [62, 76, 138], - [61, 77, 138], - [61, 78, 138], - [60, 79, 138], - [60, 80, 139], - [59, 81, 139], - [59, 82, 139], - [58, 83, 139], - [58, 84, 140], - [57, 85, 140], - [57, 86, 140], - [56, 88, 140], - [56, 89, 140], - [55, 90, 140], - [55, 91, 141], - [54, 92, 141], - [54, 93, 141], - [53, 94, 141], - [53, 95, 141], - [52, 96, 141], - [52, 97, 141], - [51, 98, 141], - [51, 99, 141], - [50, 100, 142], - [50, 101, 142], - [49, 102, 142], - [49, 103, 142], - [49, 104, 142], - [48, 105, 142], - [48, 106, 142], - [47, 107, 142], - [47, 108, 142], - [46, 109, 142], - [46, 110, 142], - [46, 111, 142], - [45, 112, 142], - [45, 113, 142], - [44, 113, 142], - [44, 114, 142], - [44, 115, 142], - [43, 116, 142], - [43, 117, 142], - [42, 118, 142], - [42, 119, 142], - [42, 120, 142], - [41, 121, 142], - [41, 122, 142], - [41, 123, 142], - [40, 124, 142], - [40, 125, 142], - [39, 126, 142], - [39, 127, 142], - [39, 128, 142], - [38, 129, 142], - [38, 130, 142], - [38, 130, 142], - [37, 131, 142], - [37, 132, 142], - [37, 133, 142], - [36, 134, 142], - [36, 135, 142], - [35, 136, 142], - [35, 137, 142], - [35, 138, 141], - [34, 139, 141], - [34, 140, 141], - [34, 141, 141], - [33, 142, 141], - [33, 143, 141], - [33, 144, 141], - [33, 145, 140], - [32, 146, 140], - [32, 146, 140], - [32, 147, 140], - [31, 148, 140], - [31, 149, 139], - [31, 150, 139], - [31, 151, 139], - [31, 152, 139], - [31, 153, 138], - [31, 154, 138], - [30, 155, 138], - [30, 156, 137], - [30, 157, 137], - [31, 158, 137], - [31, 159, 136], - [31, 160, 136], - [31, 161, 136], - [31, 161, 135], - [31, 162, 135], - [32, 163, 134], - [32, 164, 134], - [33, 165, 133], - [33, 166, 133], - [34, 167, 133], - [34, 168, 132], - [35, 169, 131], - [36, 170, 131], - [37, 171, 130], - [37, 172, 130], - [38, 173, 129], - [39, 173, 129], - [40, 174, 128], - [41, 175, 127], - [42, 176, 127], - [44, 177, 126], - [45, 178, 125], - [46, 179, 124], - [47, 180, 124], - [49, 181, 123], - [50, 182, 122], - [52, 182, 121], - [53, 183, 121], - [55, 184, 120], - [56, 185, 119], - [58, 186, 118], - [59, 187, 117], - [61, 188, 116], - [63, 188, 115], - [64, 189, 114], - [66, 190, 113], - [68, 191, 112], - [70, 192, 111], - [72, 193, 110], - [74, 193, 109], - [76, 194, 108], - [78, 195, 107], - [80, 196, 106], - [82, 197, 105], - [84, 197, 104], - [86, 198, 103], - [88, 199, 101], - [90, 200, 100], - [92, 200, 99], - [94, 201, 98], - [96, 202, 96], - [99, 203, 95], - [101, 203, 94], - [103, 204, 92], - [105, 205, 91], - [108, 205, 90], - [110, 206, 88], - [112, 207, 87], - [115, 208, 86], - [117, 208, 84], - [119, 209, 83], - [122, 209, 81], - [124, 210, 80], - [127, 211, 78], - [129, 211, 77], - [132, 212, 75], - [134, 213, 73], - [137, 213, 72], - [139, 214, 70], - [142, 214, 69], - [144, 215, 67], - [147, 215, 65], - [149, 216, 64], - [152, 216, 62], - [155, 217, 60], - [157, 217, 59], - [160, 218, 57], - [162, 218, 55], - [165, 219, 54], - [168, 219, 52], - [170, 220, 50], - [173, 220, 48], - [176, 221, 47], - [178, 221, 45], - [181, 222, 43], - [184, 222, 41], - [186, 222, 40], - [189, 223, 38], - [192, 223, 37], - [194, 223, 35], - [197, 224, 33], - [200, 224, 32], - [202, 225, 31], - [205, 225, 29], - [208, 225, 28], - [210, 226, 27], - [213, 226, 26], - [216, 226, 25], - [218, 227, 25], - [221, 227, 24], - [223, 227, 24], - [226, 228, 24], - [229, 228, 25], - [231, 228, 25], - [234, 229, 26], - [236, 229, 27], - [239, 229, 28], - [241, 229, 29], - [244, 230, 30], - [246, 230, 32], - [248, 230, 33], - [251, 231, 35], - [253, 231, 37], -]; - -pub const MAGMA: [[u8; 3]; 256] = [ - [0, 0, 4], - [1, 0, 5], - [1, 1, 6], - [1, 1, 8], - [2, 1, 9], - [2, 2, 11], - [2, 2, 13], - [3, 3, 15], - [3, 3, 18], - [4, 4, 20], - [5, 4, 22], - [6, 5, 24], - [6, 5, 26], - [7, 6, 28], - [8, 7, 30], - [9, 7, 32], - [10, 8, 34], - [11, 9, 36], - [12, 9, 38], - [13, 10, 41], - [14, 11, 43], - [16, 11, 45], - [17, 12, 47], - [18, 13, 49], - [19, 13, 52], - [20, 14, 54], - [21, 14, 56], - [22, 15, 59], - [24, 15, 61], - [25, 16, 63], - [26, 16, 66], - [28, 16, 68], - [29, 17, 71], - [30, 17, 73], - [32, 17, 75], - [33, 17, 78], - [34, 17, 80], - [36, 18, 83], - [37, 18, 85], - [39, 18, 88], - [41, 17, 90], - [42, 17, 92], - [44, 17, 95], - [45, 17, 97], - [47, 17, 99], - [49, 17, 101], - [51, 16, 103], - [52, 16, 105], - [54, 16, 107], - [56, 16, 108], - [57, 15, 110], - [59, 15, 112], - [61, 15, 113], - [63, 15, 114], - [64, 15, 116], - [66, 15, 117], - [68, 15, 118], - [69, 16, 119], - [71, 16, 120], - [73, 16, 120], - [74, 16, 121], - [76, 17, 122], - [78, 17, 123], - [79, 18, 123], - [81, 18, 124], - [82, 19, 124], - [84, 19, 125], - [86, 20, 125], - [87, 21, 126], - [89, 21, 126], - [90, 22, 126], - [92, 22, 127], - [93, 23, 127], - [95, 24, 127], - [96, 24, 128], - [98, 25, 128], - [100, 26, 128], - [101, 26, 128], - [103, 27, 128], - [104, 28, 129], - [106, 28, 129], - [107, 29, 129], - [109, 29, 129], - [110, 30, 129], - [112, 31, 129], - [114, 31, 129], - [115, 32, 129], - [117, 33, 129], - [118, 33, 129], - [120, 34, 129], - [121, 34, 130], - [123, 35, 130], - [124, 35, 130], - [126, 36, 130], - [128, 37, 130], - [129, 37, 129], - [131, 38, 129], - [132, 38, 129], - [134, 39, 129], - [136, 39, 129], - [137, 40, 129], - [139, 41, 129], - [140, 41, 129], - [142, 42, 129], - [144, 42, 129], - [145, 43, 129], - [147, 43, 128], - [148, 44, 128], - [150, 44, 128], - [152, 45, 128], - [153, 45, 128], - [155, 46, 127], - [156, 46, 127], - [158, 47, 127], - [160, 47, 127], - [161, 48, 126], - [163, 48, 126], - [165, 49, 126], - [166, 49, 125], - [168, 50, 125], - [170, 51, 125], - [171, 51, 124], - [173, 52, 124], - [174, 52, 123], - [176, 53, 123], - [178, 53, 123], - [179, 54, 122], - [181, 54, 122], - [183, 55, 121], - [184, 55, 121], - [186, 56, 120], - [188, 57, 120], - [189, 57, 119], - [191, 58, 119], - [192, 58, 118], - [194, 59, 117], - [196, 60, 117], - [197, 60, 116], - [199, 61, 115], - [200, 62, 115], - [202, 62, 114], - [204, 63, 113], - [205, 64, 113], - [207, 64, 112], - [208, 65, 111], - [210, 66, 111], - [211, 67, 110], - [213, 68, 109], - [214, 69, 108], - [216, 69, 108], - [217, 70, 107], - [219, 71, 106], - [220, 72, 105], - [222, 73, 104], - [223, 74, 104], - [224, 76, 103], - [226, 77, 102], - [227, 78, 101], - [228, 79, 100], - [229, 80, 100], - [231, 82, 99], - [232, 83, 98], - [233, 84, 98], - [234, 86, 97], - [235, 87, 96], - [236, 88, 96], - [237, 90, 95], - [238, 91, 94], - [239, 93, 94], - [240, 95, 94], - [241, 96, 93], - [242, 98, 93], - [242, 100, 92], - [243, 101, 92], - [244, 103, 92], - [244, 105, 92], - [245, 107, 92], - [246, 108, 92], - [246, 110, 92], - [247, 112, 92], - [247, 114, 92], - [248, 116, 92], - [248, 118, 92], - [249, 120, 93], - [249, 121, 93], - [249, 123, 93], - [250, 125, 94], - [250, 127, 94], - [250, 129, 95], - [251, 131, 95], - [251, 133, 96], - [251, 135, 97], - [252, 137, 97], - [252, 138, 98], - [252, 140, 99], - [252, 142, 100], - [252, 144, 101], - [253, 146, 102], - [253, 148, 103], - [253, 150, 104], - [253, 152, 105], - [253, 154, 106], - [253, 155, 107], - [254, 157, 108], - [254, 159, 109], - [254, 161, 110], - [254, 163, 111], - [254, 165, 113], - [254, 167, 114], - [254, 169, 115], - [254, 170, 116], - [254, 172, 118], - [254, 174, 119], - [254, 176, 120], - [254, 178, 122], - [254, 180, 123], - [254, 182, 124], - [254, 183, 126], - [254, 185, 127], - [254, 187, 129], - [254, 189, 130], - [254, 191, 132], - [254, 193, 133], - [254, 194, 135], - [254, 196, 136], - [254, 198, 138], - [254, 200, 140], - [254, 202, 141], - [254, 204, 143], - [254, 205, 144], - [254, 207, 146], - [254, 209, 148], - [254, 211, 149], - [254, 213, 151], - [254, 215, 153], - [254, 216, 154], - [253, 218, 156], - [253, 220, 158], - [253, 222, 160], - [253, 224, 161], - [253, 226, 163], - [253, 227, 165], - [253, 229, 167], - [253, 231, 169], - [253, 233, 170], - [253, 235, 172], - [252, 236, 174], - [252, 238, 176], - [252, 240, 178], - [252, 242, 180], - [252, 244, 182], - [252, 246, 184], - [252, 247, 185], - [252, 249, 187], - [252, 251, 189], - [252, 253, 191], -]; - -pub const BENTCOOLWARM: [[u8; 3]; 256] = [ - [59, 76, 192], - [60, 78, 193], - [61, 79, 194], - [62, 80, 194], - [63, 82, 195], - [64, 83, 196], - [65, 85, 196], - [66, 86, 197], - [67, 87, 197], - [68, 89, 198], - [69, 90, 199], - [70, 91, 199], - [71, 93, 200], - [72, 94, 200], - [73, 95, 201], - [74, 97, 202], - [75, 98, 202], - [76, 100, 203], - [77, 101, 203], - [78, 102, 204], - [79, 104, 204], - [81, 105, 205], - [82, 106, 206], - [83, 108, 206], - [84, 109, 207], - [85, 110, 207], - [86, 112, 208], - [87, 113, 208], - [89, 114, 209], - [90, 116, 209], - [91, 117, 210], - [92, 118, 210], - [93, 120, 211], - [95, 121, 211], - [96, 122, 212], - [97, 124, 212], - [98, 125, 213], - [100, 126, 213], - [101, 128, 214], - [102, 129, 214], - [103, 130, 214], - [105, 131, 215], - [106, 133, 215], - [107, 134, 216], - [109, 135, 216], - [110, 137, 217], - [111, 138, 217], - [113, 139, 218], - [114, 141, 218], - [115, 142, 218], - [117, 143, 219], - [118, 145, 219], - [119, 146, 220], - [121, 147, 220], - [122, 149, 220], - [123, 150, 221], - [125, 151, 221], - [126, 152, 222], - [128, 154, 222], - [129, 155, 222], - [130, 156, 223], - [132, 158, 223], - [133, 159, 223], - [135, 160, 224], - [136, 162, 224], - [138, 163, 225], - [139, 164, 225], - [140, 165, 225], - [142, 167, 226], - [143, 168, 226], - [145, 169, 226], - [146, 171, 227], - [148, 172, 227], - [149, 173, 227], - [151, 175, 228], - [152, 176, 228], - [154, 177, 228], - [155, 178, 229], - [157, 180, 229], - [159, 181, 229], - [160, 182, 230], - [162, 184, 230], - [163, 185, 230], - [165, 186, 230], - [166, 187, 231], - [168, 189, 231], - [170, 190, 231], - [171, 191, 232], - [173, 193, 232], - [174, 194, 232], - [176, 195, 232], - [178, 196, 233], - [179, 198, 233], - [181, 199, 233], - [183, 200, 234], - [184, 202, 234], - [186, 203, 234], - [188, 204, 234], - [189, 205, 235], - [191, 207, 235], - [193, 208, 235], - [194, 209, 236], - [196, 210, 236], - [198, 212, 236], - [200, 213, 236], - [201, 214, 237], - [203, 215, 237], - [205, 217, 237], - [207, 218, 237], - [208, 219, 238], - [210, 220, 238], - [212, 222, 238], - [214, 223, 238], - [215, 224, 239], - [217, 225, 239], - [219, 227, 239], - [221, 228, 239], - [223, 229, 240], - [225, 230, 240], - [226, 232, 240], - [228, 233, 240], - [230, 234, 241], - [232, 235, 241], - [234, 237, 241], - [236, 238, 241], - [238, 239, 242], - [239, 240, 242], - [241, 242, 242], - [242, 241, 241], - [242, 240, 239], - [241, 238, 237], - [241, 237, 235], - [241, 235, 232], - [241, 234, 230], - [240, 232, 228], - [240, 231, 226], - [240, 229, 224], - [239, 228, 222], - [239, 226, 219], - [239, 225, 217], - [238, 223, 215], - [238, 222, 213], - [238, 220, 211], - [237, 219, 209], - [237, 217, 207], - [237, 216, 205], - [236, 214, 203], - [236, 213, 201], - [236, 211, 199], - [235, 210, 196], - [235, 208, 194], - [235, 207, 192], - [234, 205, 190], - [234, 204, 188], - [233, 202, 186], - [233, 201, 184], - [233, 199, 182], - [232, 197, 180], - [232, 196, 179], - [232, 194, 177], - [231, 193, 175], - [231, 191, 173], - [230, 190, 171], - [230, 188, 169], - [230, 187, 167], - [229, 185, 165], - [229, 184, 163], - [228, 182, 161], - [228, 181, 159], - [228, 179, 158], - [227, 177, 156], - [227, 176, 154], - [226, 174, 152], - [226, 173, 150], - [226, 171, 148], - [225, 170, 147], - [225, 168, 145], - [224, 167, 143], - [224, 165, 141], - [223, 163, 140], - [223, 162, 138], - [223, 160, 136], - [222, 159, 134], - [222, 157, 133], - [221, 156, 131], - [221, 154, 129], - [220, 152, 128], - [220, 151, 126], - [219, 149, 124], - [219, 148, 123], - [218, 146, 121], - [218, 144, 119], - [217, 143, 118], - [217, 141, 116], - [217, 140, 114], - [216, 138, 113], - [216, 136, 111], - [215, 135, 110], - [215, 133, 108], - [214, 132, 107], - [214, 130, 105], - [213, 128, 104], - [212, 127, 102], - [212, 125, 101], - [211, 123, 99], - [211, 122, 98], - [210, 120, 96], - [210, 119, 95], - [209, 117, 93], - [209, 115, 92], - [208, 114, 90], - [208, 112, 89], - [207, 110, 88], - [207, 108, 86], - [206, 107, 85], - [205, 105, 83], - [205, 103, 82], - [204, 102, 81], - [204, 100, 79], - [203, 98, 78], - [203, 96, 77], - [202, 95, 75], - [201, 93, 74], - [201, 91, 73], - [200, 89, 72], - [200, 87, 70], - [199, 86, 69], - [198, 84, 68], - [198, 82, 67], - [197, 80, 65], - [197, 78, 64], - [196, 76, 63], - [195, 74, 62], - [195, 72, 61], - [194, 70, 60], - [193, 68, 58], - [193, 66, 57], - [192, 64, 56], - [192, 62, 55], - [191, 60, 54], - [190, 58, 53], - [190, 55, 52], - [189, 53, 51], - [188, 50, 50], - [188, 48, 49], - [187, 45, 48], - [186, 43, 47], - [186, 40, 46], - [185, 37, 45], - [184, 34, 44], - [184, 30, 43], - [183, 27, 42], - [182, 22, 41], - [181, 18, 40], - [181, 12, 39], - [180, 4, 38], -]; - -pub const BLACKBODY: [[u8; 3]; 256] = [ - [0, 0, 0], - [3, 1, 1], - [7, 2, 1], - [10, 3, 2], - [13, 4, 2], - [16, 5, 3], - [18, 6, 3], - [20, 7, 4], - [22, 8, 4], - [24, 9, 5], - [26, 10, 5], - [27, 11, 6], - [29, 11, 6], - [30, 12, 7], - [32, 13, 8], - [33, 14, 8], - [34, 15, 9], - [36, 15, 9], - [37, 16, 10], - [38, 16, 10], - [40, 17, 11], - [41, 17, 11], - [43, 18, 12], - [44, 18, 12], - [46, 18, 13], - [47, 19, 13], - [49, 19, 14], - [50, 19, 14], - [52, 20, 15], - [54, 20, 15], - [55, 20, 15], - [57, 21, 16], - [58, 21, 16], - [60, 21, 16], - [62, 22, 17], - [63, 22, 17], - [65, 22, 17], - [66, 23, 18], - [68, 23, 18], - [70, 23, 18], - [71, 24, 19], - [73, 24, 19], - [75, 24, 19], - [76, 25, 20], - [78, 25, 20], - [80, 25, 20], - [81, 25, 20], - [83, 26, 21], - [85, 26, 21], - [86, 26, 21], - [88, 26, 21], - [90, 27, 22], - [91, 27, 22], - [93, 27, 22], - [95, 27, 22], - [97, 28, 23], - [98, 28, 23], - [100, 28, 23], - [102, 28, 23], - [104, 29, 24], - [105, 29, 24], - [107, 29, 24], - [109, 29, 24], - [111, 29, 25], - [112, 30, 25], - [114, 30, 25], - [116, 30, 25], - [118, 30, 26], - [119, 30, 26], - [121, 31, 26], - [123, 31, 26], - [125, 31, 27], - [127, 31, 27], - [128, 31, 27], - [130, 31, 27], - [132, 32, 28], - [134, 32, 28], - [136, 32, 28], - [137, 32, 28], - [139, 32, 29], - [141, 32, 29], - [143, 32, 29], - [145, 33, 29], - [147, 33, 30], - [148, 33, 30], - [150, 33, 30], - [152, 33, 31], - [154, 33, 31], - [156, 33, 31], - [158, 33, 31], - [160, 33, 32], - [161, 34, 32], - [163, 34, 32], - [165, 34, 32], - [167, 34, 33], - [169, 34, 33], - [171, 34, 33], - [173, 34, 33], - [175, 34, 34], - [177, 34, 34], - [178, 34, 34], - [179, 36, 34], - [180, 38, 34], - [181, 40, 33], - [182, 42, 33], - [183, 44, 33], - [184, 45, 33], - [185, 47, 32], - [186, 49, 32], - [187, 50, 32], - [188, 52, 31], - [189, 53, 31], - [190, 55, 31], - [191, 56, 31], - [192, 58, 30], - [193, 59, 30], - [194, 61, 30], - [195, 62, 29], - [196, 64, 29], - [197, 65, 28], - [198, 66, 28], - [199, 68, 28], - [200, 69, 27], - [201, 71, 27], - [202, 72, 26], - [203, 73, 26], - [204, 75, 25], - [205, 76, 25], - [206, 77, 24], - [207, 79, 24], - [208, 80, 23], - [209, 82, 23], - [210, 83, 22], - [211, 84, 21], - [212, 85, 21], - [213, 87, 20], - [214, 88, 19], - [215, 89, 19], - [216, 91, 18], - [217, 92, 17], - [218, 93, 16], - [219, 95, 15], - [220, 96, 14], - [221, 97, 13], - [222, 98, 12], - [223, 100, 11], - [224, 101, 9], - [225, 102, 8], - [226, 104, 7], - [227, 105, 5], - [227, 107, 5], - [227, 109, 6], - [228, 110, 7], - [228, 112, 7], - [228, 114, 8], - [228, 116, 8], - [229, 118, 9], - [229, 119, 10], - [229, 121, 10], - [229, 123, 11], - [229, 124, 12], - [230, 126, 12], - [230, 128, 13], - [230, 130, 14], - [230, 131, 14], - [230, 133, 15], - [230, 135, 15], - [231, 136, 16], - [231, 138, 17], - [231, 140, 17], - [231, 141, 18], - [231, 143, 19], - [231, 145, 19], - [231, 146, 20], - [232, 148, 21], - [232, 150, 21], - [232, 151, 22], - [232, 153, 22], - [232, 154, 23], - [232, 156, 24], - [232, 158, 24], - [232, 159, 25], - [232, 161, 26], - [232, 162, 26], - [233, 164, 27], - [233, 166, 27], - [233, 167, 28], - [233, 169, 29], - [233, 170, 29], - [233, 172, 30], - [233, 174, 30], - [233, 175, 31], - [233, 177, 32], - [233, 178, 32], - [233, 180, 33], - [233, 181, 34], - [233, 183, 34], - [233, 185, 35], - [233, 186, 35], - [233, 188, 36], - [233, 189, 37], - [233, 191, 37], - [233, 192, 38], - [233, 194, 38], - [233, 195, 39], - [233, 197, 40], - [233, 199, 40], - [233, 200, 41], - [232, 202, 42], - [232, 203, 42], - [232, 205, 43], - [232, 206, 43], - [232, 208, 44], - [232, 209, 45], - [232, 211, 45], - [232, 213, 46], - [232, 214, 47], - [232, 216, 47], - [231, 217, 48], - [231, 219, 48], - [231, 220, 49], - [231, 222, 50], - [231, 223, 50], - [231, 225, 51], - [230, 226, 52], - [230, 228, 52], - [230, 229, 53], - [231, 231, 60], - [233, 231, 69], - [234, 232, 78], - [236, 233, 87], - [237, 234, 94], - [238, 235, 102], - [240, 236, 109], - [241, 236, 117], - [242, 237, 124], - [243, 238, 131], - [245, 239, 137], - [246, 240, 144], - [247, 241, 151], - [248, 241, 158], - [249, 242, 164], - [249, 243, 171], - [250, 244, 177], - [251, 245, 184], - [252, 246, 190], - [252, 247, 197], - [253, 248, 203], - [253, 249, 210], - [254, 249, 216], - [254, 250, 223], - [254, 251, 229], - [255, 252, 236], - [255, 253, 242], - [255, 254, 249], - [255, 255, 255], -]; - -pub const EXTENDEDKINDLMANN: [[u8; 3]; 256] = [ - [0, 0, 0], - [5, 0, 4], - [9, 0, 9], - [13, 1, 13], - [16, 1, 17], - [19, 1, 21], - [22, 1, 24], - [24, 1, 27], - [26, 1, 30], - [27, 2, 34], - [28, 2, 38], - [29, 2, 42], - [29, 2, 46], - [30, 2, 50], - [30, 3, 53], - [30, 3, 57], - [30, 3, 61], - [29, 3, 65], - [29, 3, 68], - [28, 3, 72], - [27, 4, 75], - [27, 4, 79], - [26, 4, 82], - [25, 4, 85], - [24, 4, 88], - [23, 4, 92], - [22, 5, 95], - [21, 5, 98], - [20, 5, 101], - [19, 5, 103], - [18, 5, 106], - [18, 5, 109], - [17, 5, 111], - [14, 5, 115], - [8, 6, 119], - [6, 8, 120], - [6, 11, 120], - [6, 15, 119], - [6, 18, 118], - [6, 22, 116], - [5, 25, 114], - [5, 28, 112], - [5, 31, 109], - [5, 33, 107], - [5, 36, 104], - [5, 38, 101], - [5, 40, 99], - [5, 42, 96], - [5, 44, 94], - [4, 46, 91], - [4, 48, 89], - [4, 49, 87], - [4, 51, 85], - [4, 52, 83], - [4, 54, 81], - [4, 55, 79], - [4, 57, 77], - [4, 58, 76], - [4, 59, 74], - [3, 61, 73], - [3, 62, 71], - [3, 63, 70], - [3, 65, 69], - [3, 66, 67], - [3, 67, 66], - [3, 68, 65], - [3, 69, 64], - [3, 71, 63], - [3, 72, 61], - [4, 73, 60], - [4, 74, 58], - [4, 75, 56], - [4, 77, 55], - [4, 78, 53], - [4, 79, 51], - [4, 80, 49], - [4, 81, 47], - [4, 82, 45], - [4, 84, 43], - [4, 85, 41], - [4, 86, 39], - [4, 87, 36], - [4, 88, 34], - [4, 89, 31], - [4, 91, 29], - [4, 92, 26], - [5, 93, 24], - [5, 94, 21], - [5, 95, 18], - [5, 96, 15], - [5, 97, 13], - [5, 98, 10], - [5, 100, 8], - [5, 101, 6], - [6, 102, 5], - [8, 103, 5], - [10, 104, 5], - [11, 105, 5], - [13, 106, 5], - [15, 107, 5], - [17, 108, 5], - [20, 109, 5], - [22, 110, 5], - [26, 111, 5], - [29, 112, 5], - [32, 112, 5], - [36, 113, 5], - [40, 114, 5], - [43, 115, 6], - [47, 116, 6], - [51, 116, 6], - [55, 117, 6], - [59, 118, 6], - [63, 118, 6], - [67, 119, 6], - [71, 119, 6], - [76, 120, 6], - [80, 120, 6], - [84, 121, 6], - [88, 121, 6], - [92, 122, 6], - [97, 122, 6], - [101, 122, 6], - [105, 123, 6], - [109, 123, 6], - [113, 123, 6], - [118, 123, 6], - [122, 123, 6], - [126, 123, 6], - [130, 123, 6], - [135, 123, 7], - [139, 123, 7], - [144, 123, 7], - [149, 122, 7], - [154, 122, 7], - [160, 121, 8], - [165, 120, 8], - [171, 119, 8], - [177, 118, 8], - [183, 117, 9], - [189, 115, 9], - [196, 113, 9], - [202, 111, 10], - [209, 108, 10], - [216, 105, 10], - [222, 102, 11], - [229, 98, 11], - [236, 94, 11], - [243, 90, 12], - [244, 91, 27], - [245, 92, 37], - [245, 94, 46], - [245, 96, 52], - [246, 98, 58], - [246, 99, 63], - [246, 101, 67], - [246, 103, 71], - [246, 105, 74], - [246, 107, 77], - [247, 109, 79], - [247, 111, 83], - [247, 112, 87], - [247, 114, 91], - [247, 115, 96], - [248, 117, 101], - [248, 118, 106], - [248, 120, 112], - [248, 121, 118], - [249, 122, 123], - [249, 123, 129], - [249, 125, 135], - [249, 126, 141], - [249, 127, 147], - [249, 129, 153], - [249, 130, 158], - [249, 131, 164], - [249, 132, 169], - [249, 133, 175], - [249, 134, 180], - [249, 135, 186], - [249, 137, 191], - [249, 138, 196], - [249, 139, 201], - [250, 140, 206], - [250, 141, 211], - [250, 142, 216], - [250, 143, 221], - [250, 144, 225], - [250, 145, 230], - [250, 146, 235], - [250, 147, 239], - [250, 148, 243], - [250, 149, 248], - [248, 152, 250], - [245, 155, 250], - [242, 159, 250], - [239, 162, 251], - [236, 165, 251], - [234, 168, 251], - [232, 171, 251], - [230, 173, 251], - [229, 176, 251], - [227, 178, 251], - [226, 180, 251], - [225, 182, 251], - [224, 184, 252], - [224, 186, 252], - [223, 188, 252], - [223, 190, 252], - [222, 191, 252], - [222, 193, 252], - [222, 195, 252], - [222, 196, 252], - [223, 198, 252], - [223, 199, 252], - [223, 201, 252], - [224, 202, 252], - [224, 204, 253], - [225, 205, 253], - [226, 207, 253], - [226, 208, 253], - [227, 209, 253], - [228, 211, 253], - [229, 212, 253], - [229, 213, 253], - [230, 215, 253], - [231, 216, 253], - [231, 218, 253], - [231, 219, 253], - [232, 221, 253], - [232, 222, 253], - [232, 224, 253], - [232, 225, 254], - [233, 227, 254], - [233, 228, 254], - [233, 230, 254], - [233, 231, 254], - [233, 233, 254], - [233, 234, 254], - [234, 236, 254], - [234, 237, 254], - [234, 239, 254], - [235, 240, 254], - [235, 242, 254], - [236, 243, 254], - [237, 245, 254], - [237, 246, 254], - [238, 247, 254], - [239, 249, 254], - [240, 250, 254], - [242, 251, 254], - [243, 252, 254], - [245, 253, 255], - [248, 254, 255], - [251, 255, 255], - [255, 255, 255], -]; - -pub const KINDLMANN: [[u8; 3]; 256] = [ - [0, 0, 0], - [5, 0, 4], - [9, 0, 8], - [13, 1, 13], - [17, 1, 16], - [20, 1, 20], - [22, 1, 23], - [25, 1, 26], - [27, 1, 29], - [29, 2, 32], - [30, 2, 35], - [31, 2, 38], - [32, 2, 42], - [33, 2, 45], - [34, 2, 48], - [35, 2, 51], - [36, 3, 54], - [37, 3, 57], - [37, 3, 60], - [38, 3, 63], - [38, 3, 66], - [38, 3, 68], - [39, 3, 71], - [39, 4, 74], - [39, 4, 77], - [39, 4, 80], - [39, 4, 83], - [39, 4, 86], - [39, 4, 89], - [39, 4, 93], - [39, 5, 96], - [39, 5, 99], - [38, 5, 102], - [38, 5, 106], - [37, 5, 109], - [37, 5, 112], - [36, 6, 116], - [35, 6, 119], - [34, 6, 123], - [33, 6, 126], - [32, 6, 129], - [32, 6, 132], - [31, 6, 136], - [30, 7, 139], - [29, 7, 142], - [28, 7, 145], - [27, 7, 148], - [26, 7, 151], - [25, 7, 154], - [25, 7, 157], - [24, 8, 160], - [24, 8, 163], - [20, 8, 166], - [15, 8, 170], - [8, 9, 174], - [8, 12, 175], - [8, 15, 175], - [8, 19, 175], - [8, 22, 175], - [8, 25, 175], - [8, 28, 174], - [8, 32, 173], - [8, 35, 172], - [8, 38, 170], - [8, 41, 168], - [8, 43, 166], - [8, 46, 165], - [8, 49, 163], - [8, 51, 160], - [8, 53, 158], - [8, 56, 156], - [7, 58, 154], - [7, 60, 152], - [7, 62, 149], - [7, 64, 147], - [7, 66, 145], - [7, 68, 143], - [7, 70, 141], - [7, 71, 139], - [7, 73, 137], - [7, 75, 135], - [6, 76, 133], - [6, 78, 132], - [6, 80, 130], - [6, 81, 128], - [6, 83, 127], - [6, 84, 125], - [6, 86, 123], - [6, 87, 122], - [6, 88, 120], - [6, 90, 119], - [6, 91, 118], - [6, 93, 116], - [6, 94, 115], - [5, 95, 114], - [6, 96, 113], - [5, 98, 112], - [5, 99, 110], - [5, 100, 109], - [5, 102, 108], - [5, 103, 107], - [5, 104, 106], - [5, 105, 105], - [5, 107, 104], - [5, 108, 103], - [5, 109, 102], - [5, 110, 101], - [5, 112, 100], - [5, 113, 99], - [5, 114, 98], - [6, 115, 96], - [6, 117, 95], - [6, 118, 94], - [6, 119, 92], - [6, 120, 91], - [6, 122, 89], - [6, 123, 88], - [6, 124, 86], - [6, 125, 84], - [6, 127, 83], - [6, 128, 81], - [6, 129, 79], - [6, 130, 77], - [6, 132, 75], - [6, 133, 74], - [7, 134, 72], - [6, 135, 70], - [7, 137, 67], - [7, 138, 65], - [7, 139, 63], - [7, 140, 61], - [7, 142, 59], - [7, 143, 56], - [7, 144, 54], - [7, 145, 52], - [7, 147, 49], - [7, 148, 47], - [7, 149, 44], - [7, 150, 42], - [7, 151, 39], - [7, 153, 37], - [7, 154, 34], - [8, 155, 31], - [8, 156, 29], - [8, 157, 26], - [8, 159, 23], - [8, 160, 20], - [8, 161, 18], - [8, 162, 15], - [8, 163, 12], - [8, 165, 10], - [8, 166, 8], - [12, 167, 8], - [15, 168, 8], - [17, 169, 8], - [18, 170, 8], - [20, 171, 8], - [22, 173, 8], - [24, 174, 8], - [26, 175, 8], - [29, 176, 8], - [32, 177, 9], - [35, 178, 9], - [38, 179, 9], - [41, 180, 9], - [45, 181, 9], - [48, 182, 9], - [52, 183, 9], - [56, 184, 9], - [59, 185, 9], - [63, 186, 9], - [67, 187, 9], - [71, 188, 9], - [75, 189, 9], - [79, 190, 9], - [83, 190, 9], - [87, 191, 9], - [91, 192, 9], - [95, 193, 9], - [99, 193, 9], - [103, 194, 9], - [107, 195, 9], - [111, 196, 9], - [116, 196, 9], - [120, 197, 9], - [124, 198, 10], - [128, 198, 10], - [133, 199, 10], - [137, 199, 10], - [141, 200, 10], - [145, 200, 10], - [150, 201, 10], - [154, 201, 10], - [158, 202, 10], - [163, 202, 10], - [167, 202, 10], - [171, 203, 10], - [175, 203, 10], - [180, 203, 10], - [184, 204, 10], - [188, 204, 10], - [193, 204, 10], - [197, 205, 10], - [201, 205, 10], - [205, 205, 10], - [209, 205, 10], - [214, 205, 10], - [218, 205, 11], - [223, 205, 11], - [228, 205, 11], - [233, 205, 11], - [237, 205, 11], - [243, 205, 12], - [246, 204, 57], - [247, 205, 86], - [248, 205, 105], - [249, 206, 119], - [249, 207, 131], - [250, 207, 141], - [250, 208, 149], - [250, 209, 157], - [251, 210, 163], - [251, 211, 169], - [251, 212, 174], - [251, 214, 179], - [252, 215, 184], - [252, 216, 188], - [252, 217, 192], - [252, 218, 195], - [252, 220, 199], - [252, 221, 202], - [253, 222, 205], - [253, 224, 208], - [253, 225, 211], - [253, 226, 213], - [253, 227, 216], - [253, 229, 218], - [253, 230, 221], - [253, 232, 223], - [254, 233, 225], - [254, 234, 227], - [254, 236, 229], - [254, 237, 231], - [254, 238, 233], - [254, 240, 235], - [254, 241, 237], - [254, 242, 239], - [254, 244, 241], - [254, 245, 243], - [254, 247, 245], - [255, 248, 246], - [255, 249, 248], - [255, 251, 250], - [255, 252, 252], - [255, 254, 253], - [255, 255, 255], -]; - -pub const SMOOTHCOOLWARM: [[u8; 3]; 256] = [ - [59, 76, 192], - [60, 78, 194], - [61, 80, 195], - [62, 81, 197], - [63, 83, 199], - [64, 85, 200], - [66, 87, 202], - [67, 88, 203], - [68, 90, 204], - [69, 92, 206], - [70, 94, 207], - [72, 95, 209], - [73, 97, 210], - [74, 99, 212], - [75, 100, 213], - [76, 102, 214], - [78, 104, 216], - [79, 106, 217], - [80, 107, 218], - [81, 109, 219], - [83, 111, 221], - [84, 112, 222], - [85, 114, 223], - [86, 116, 224], - [88, 117, 226], - [89, 119, 227], - [90, 120, 228], - [91, 122, 229], - [93, 124, 230], - [94, 125, 231], - [95, 127, 232], - [97, 129, 233], - [98, 130, 234], - [99, 132, 235], - [101, 133, 236], - [102, 135, 237], - [103, 136, 238], - [105, 138, 239], - [106, 140, 240], - [107, 141, 240], - [109, 143, 241], - [110, 144, 242], - [111, 146, 243], - [113, 147, 244], - [114, 149, 244], - [115, 150, 245], - [117, 152, 246], - [118, 153, 246], - [119, 154, 247], - [121, 156, 248], - [122, 157, 248], - [123, 159, 249], - [125, 160, 249], - [126, 162, 250], - [128, 163, 250], - [129, 164, 251], - [130, 166, 251], - [132, 167, 252], - [133, 168, 252], - [134, 170, 252], - [136, 171, 253], - [137, 172, 253], - [139, 174, 253], - [140, 175, 254], - [141, 176, 254], - [143, 177, 254], - [144, 178, 254], - [146, 180, 254], - [147, 181, 255], - [148, 182, 255], - [150, 183, 255], - [151, 184, 255], - [153, 186, 255], - [154, 187, 255], - [155, 188, 255], - [157, 189, 255], - [158, 190, 255], - [159, 191, 255], - [161, 192, 255], - [162, 193, 255], - [163, 194, 254], - [165, 195, 254], - [166, 196, 254], - [168, 197, 254], - [169, 198, 254], - [170, 199, 253], - [172, 200, 253], - [173, 201, 253], - [174, 201, 252], - [176, 202, 252], - [177, 203, 252], - [178, 204, 251], - [180, 205, 251], - [181, 206, 250], - [182, 206, 250], - [183, 207, 249], - [185, 208, 249], - [186, 209, 248], - [187, 209, 248], - [189, 210, 247], - [190, 211, 246], - [191, 211, 246], - [192, 212, 245], - [193, 212, 244], - [195, 213, 244], - [196, 214, 243], - [197, 214, 242], - [198, 215, 241], - [200, 215, 241], - [201, 216, 240], - [202, 216, 239], - [203, 216, 238], - [204, 217, 237], - [205, 217, 236], - [206, 218, 235], - [208, 218, 234], - [209, 218, 233], - [210, 219, 232], - [211, 219, 231], - [212, 219, 230], - [213, 219, 229], - [214, 220, 228], - [215, 220, 227], - [216, 220, 226], - [217, 220, 225], - [218, 220, 224], - [219, 221, 222], - [220, 221, 221], - [221, 220, 220], - [222, 220, 219], - [223, 220, 217], - [225, 219, 216], - [226, 218, 214], - [227, 218, 213], - [228, 217, 211], - [229, 217, 210], - [229, 216, 209], - [230, 216, 207], - [231, 215, 206], - [232, 214, 204], - [233, 214, 203], - [234, 213, 201], - [235, 212, 200], - [235, 211, 198], - [236, 211, 197], - [237, 210, 195], - [238, 209, 194], - [238, 208, 192], - [239, 207, 191], - [239, 206, 189], - [240, 206, 187], - [241, 205, 186], - [241, 204, 184], - [242, 203, 183], - [242, 202, 181], - [243, 201, 180], - [243, 200, 178], - [244, 199, 177], - [244, 198, 175], - [244, 197, 173], - [245, 196, 172], - [245, 195, 170], - [245, 193, 169], - [246, 192, 167], - [246, 191, 166], - [246, 190, 164], - [246, 189, 162], - [247, 188, 161], - [247, 186, 159], - [247, 185, 158], - [247, 184, 156], - [247, 183, 155], - [247, 181, 153], - [247, 180, 151], - [247, 179, 150], - [247, 177, 148], - [247, 176, 147], - [247, 175, 145], - [247, 173, 144], - [247, 172, 142], - [247, 171, 140], - [247, 169, 139], - [247, 168, 137], - [247, 166, 136], - [246, 165, 134], - [246, 163, 133], - [246, 162, 131], - [246, 160, 129], - [245, 159, 128], - [245, 157, 126], - [245, 156, 125], - [244, 154, 123], - [244, 153, 122], - [244, 151, 120], - [243, 149, 119], - [243, 148, 117], - [242, 146, 116], - [242, 144, 114], - [241, 143, 113], - [241, 141, 111], - [240, 139, 110], - [240, 138, 108], - [239, 136, 107], - [238, 134, 105], - [238, 133, 104], - [237, 131, 102], - [237, 129, 101], - [236, 127, 99], - [235, 125, 98], - [234, 124, 96], - [234, 122, 95], - [233, 120, 93], - [232, 118, 92], - [231, 116, 91], - [230, 114, 89], - [229, 112, 88], - [229, 111, 86], - [228, 109, 85], - [227, 107, 84], - [226, 105, 82], - [225, 103, 81], - [224, 101, 79], - [223, 99, 78], - [222, 97, 77], - [221, 95, 75], - [220, 93, 74], - [219, 91, 73], - [218, 89, 71], - [216, 86, 70], - [215, 84, 69], - [214, 82, 68], - [213, 80, 66], - [212, 78, 65], - [211, 76, 64], - [209, 73, 62], - [208, 71, 61], - [207, 69, 60], - [206, 67, 59], - [204, 64, 57], - [203, 62, 56], - [202, 59, 55], - [200, 57, 54], - [199, 54, 53], - [198, 52, 52], - [196, 49, 50], - [195, 46, 49], - [193, 43, 48], - [192, 40, 47], - [191, 37, 46], - [189, 34, 45], - [188, 30, 44], - [186, 26, 43], - [185, 22, 41], - [183, 17, 40], - [182, 11, 39], - [180, 4, 38], -];