base16-palettes 0.1.0

A representation of the Base16 palettes in Rust
Documentation
use enum_dispatch::enum_dispatch;

use super::create_palette;

#[enum_dispatch(Base16Palette)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum BlackMetalPalette {
    Bathory,
    Nile,
    Khold,
    DarkFuneral,
    Immortal,
    Mayhem,
    Venom,
    Gorgoroth,
    Marduk,
    BlackMetal,
    Burzum,
}
create_palette! {
    Bathory,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "e78a53",
    "fbcb97",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Nile,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "777755",
    "aa9988",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Khold,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "974b46",
    "eceee3",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    DarkFuneral,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "5f81a5",
    "d0dfee",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Immortal,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "556677",
    "7799bb",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Mayhem,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "eecc6c",
    "f3ecd4",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Venom,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "79241f",
    "f8f7f2",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Gorgoroth,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "8c7f70",
    "9b8d7f",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Marduk,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "626b67",
    "a5aaa7",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    BlackMetal,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "a06666",
    "dd9999",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}
create_palette! {
    Burzum,
    "000000",
    "121212",
    "222222",
    "333333",
    "999999",
    "c1c1c1",
    "999999",
    "c1c1c1",
    "5f8787",
    "aaaaaa",
    "99bbaa",
    "ddeecc",
    "aaaaaa",
    "888888",
    "999999",
    "444444",
}