rustzx_utils/
palette.rs

1pub mod rgba {
2    pub const ORIGINAL: [[u8; 4]; 16] = [
3        // normal
4        0x000000FF_u32.to_be_bytes(),
5        0x0000CDFF_u32.to_be_bytes(),
6        0xCD0000FF_u32.to_be_bytes(),
7        0xCD00CDFF_u32.to_be_bytes(),
8        0x00CD00FF_u32.to_be_bytes(),
9        0x00CDCDFF_u32.to_be_bytes(),
10        0xCDCD00FF_u32.to_be_bytes(),
11        0xCDCDCDFF_u32.to_be_bytes(),
12        // bright
13        0x000000FF_u32.to_be_bytes(),
14        0x0000FFFF_u32.to_be_bytes(),
15        0xFF0000FF_u32.to_be_bytes(),
16        0xFF00FFFF_u32.to_be_bytes(),
17        0x00FF00FF_u32.to_be_bytes(),
18        0x00FFFFFF_u32.to_be_bytes(),
19        0xFFFF00FF_u32.to_be_bytes(),
20        0xFFFFFFFF_u32.to_be_bytes(),
21    ];
22}