diff --git a/src/lib.rs b/src/lib.rs index 6aceb4d..ad2875d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -189,7 +189,7 @@ mod tests { use super::*; fn maps_stub(map_count: u32) -> RetrievedMaps { - let map_color = Rgba::from([0x00, 0x8A, 0x00, 0xFF]); // First color from map key. + let map_color = Rgba::from([73, 218, 33, 255]); // First color from map key. let image = DynamicImage::ImageRgba8(RgbaImage::from_pixel(820 * map_count, 988, map_color)); diff --git a/src/maps.rs b/src/maps.rs index 77dc0bf..628c305 100644 --- a/src/maps.rs +++ b/src/maps.rs @@ -78,16 +78,16 @@ type MapKeyHistogram = HashMap, u32>; /// Note that the actual score starts from 1, not 0 as per this array. #[rustfmt::skip] const MAP_KEY: [[u8; 3]; 10] = [ - [0x00, 0x8A, 0x00], // #008A00 - [0x01, 0xAD, 0x01], // #01AD01 - [0x8C, 0xD6, 0x00], // #8CD600 - [0xAE, 0xE7, 0x00], // #AEE700 - [0xF8, 0xE7, 0x1C], // #F8E71C - [0xF5, 0xD4, 0x23], // #F5D423 - [0xFF, 0x95, 0x00], // #FF9500 - [0xE8, 0x53, 0x00], // #E85300 - [0xD7, 0x07, 0x26], // #D70726 - [0xAD, 0x01, 0x01], // #AD0101 + [0x49, 0xDA, 0x21], + [0x30, 0xD2, 0x00], + [0xFF, 0xF8, 0x8B], + [0xFF, 0xF6, 0x42], + [0xFD, 0xBB, 0x31], + [0xFD, 0x8E, 0x24], + [0xFC, 0x10, 0x3E], + [0x97, 0x0A, 0x33], + [0xA6, 0x6D, 0xBC], + [0xB3, 0x30, 0xA1], ]; /// The Buienradar map sample size.