Skip to content

Instantly share code, notes, and snippets.

@leok7v
Created April 30, 2024 21:55
Show Gist options
  • Save leok7v/e8333c465f8bf1206a851ad7b7a901a1 to your computer and use it in GitHub Desktop.
Save leok7v/e8333c465f8bf1206a851ad7b7a901a1 to your computer and use it in GitHub Desktop.
named dark colors
typedef enum colors_t {
/* Main Panel Backgrounds */
charcoal = 0x36454F,
onyx = 0x353839,
gunmetal = 0x2A3439,
jet_black = 0x343434,
outer_space = 0x414A4C,
eerie_black = 0x1B1B1B,
oil = 0x3B3C36,
black_coral = 0x54626F,
/* Secondary Panels or Sidebars */
raisin_black = 0x272635,
dark_charcoal = 0x303030,
dark_jungle_green = 0x1A2421,
pine_tree = 0x2A2F23,
rich_black = 0x004040,
eclipse = 0x3F3939,
cafe_noir = 0x4B3621,
/* Flat Buttons */
prussian_blue = 0x003153,
midnight_green = 0x004953,
charleston_green = 0x232B2B,
rich_black_fogra = 0x0A0F0D,
dark_liver = 0x534B4F,
dark_slate_gray = 0x2F4F4F,
black_olive = 0x3B3C36,
cadet = 0x536872,
/* Button highlights (hover) */
dark_sienna = 0x3C1414,
bistre_brown = 0x967117,
dark_puce = 0x4F3A3C,
wenge = 0x645452,
/* Raised button effects */
dark_scarlet = 0x560319,
burnt_umber = 0x8A3324,
caput_mortuum = 0x592720,
barn_red = 0x7C0A02,
/* Text and Icons */
platinum = 0xE5E4E2,
anti_flash_white = 0xF2F3F4,
silver_sand = 0xBFC1C2,
quick_silver = 0xA6A6A6,
/* Links and Selections */
dark_powder_blue = 0x003399,
sapphire_blue = 0x0F52BA,
international_klein_blue = 0x002FA7,
zaffre = 0x0014A8,
/* Additional Colors */
fish_belly = 0xE8F1D4,
rusty_red = 0xDA2C43,
falu_red = 0x801818,
cordovan = 0x893F45,
dark_raspberry = 0x872657,
deep_magenta = 0xCC00CC,
byzantium = 0x702963,
amethyst = 0x9966CC,
wisteria = 0xC9A0DC,
lavender_purple = 0x967BB6,
opera_mauve = 0xB784A7,
mauve_taupe = 0x915F6D,
rich_lavender = 0xA76BCF,
pansy_purple = 0x78184A,
violet_eggplant = 0x991199,
jazzberry_jam = 0xA50B5E,
dark_orchid = 0x9932CC,
electric_purple = 0xBF00FF,
barbie_pink = 0xE0218A,
steel_pink = 0xCC33CC,
sky_magenta = 0xCF71AF,
brilliant_rose = 0xE667CE,
fuchsia_purple = 0xCC397B,
french_raspberry = 0xC72C48,
wild_watermelon = 0xFC6C85,
salmon_pink = 0xFF91A4,
neon_carrot = 0xFFA343,
burnt_orange = 0xCC5500,
carrot_orange = 0xED9121,
tiger_orange = 0xFD6A02,
giant_onion = 0xB0B589,
rust = 0xB7410E,
copper_red = 0xCB6D51,
dark_tangerine = 0xFFA812,
bright_marigold = 0xFCC006,
/* Earthy Tones */
ochre = 0xCC7722,
sienna = 0xA0522D,
sandy_brown = 0xF4A460,
golden_brown = 0x996515,
camel = 0xC19A6B,
burnt_sienna = 0xEE7C58,
khaki = 0xC3B091,
dark_khaki = 0xBDB76B,
/* Greens */
fern_green = 0x4F7942,
moss_green = 0x8A9A5B,
myrtle_green = 0x317873,
pine_green = 0x01796F,
jungle_green = 0x29AB87,
sacramento_green = 0x043927,
/* Blues */
yale_blue = 0x0F4D92,
cobalt_blue = 0x0047AB,
persian_blue = 0x1C39BB,
royal_blue = 0x4169E1,
iceberg = 0x71A6D2,
blue_yonder = 0x5072A7,
/* Miscellaneous */
cocoa_brown = 0xD2691E,
cinnamon_satin = 0xCD607E,
fallow = 0xC19A6B,
cafe_au_lait = 0xA67B5B,
liver = 0x674C47,
shadow = 0x8A795D,
cool_grey = 0x8C92AC,
payne_grey = 0x536878,
/* Lighter Tones for Contrast */
timberwolf = 0xDBD7D2,
gainsboro = 0xDCDCDC,
light_gray = 0xD3D3D3,
silver_chalice = 0xACACAC,
roman_silver = 0x838996,
/* Dark Mode Specific Highlights */
electric_lavender = 0xF4BFFF,
magenta_haze = 0x9F4576,
cyber_grape = 0x58427C,
purple_navy = 0x4E5180,
liberty = 0x545AA7,
purple_mountain_majesty = 0x9678B6,
ceil = 0x92A1CF,
moonstone_blue = 0x73A9C2,
independence = 0x4C516D
} colors_t;
/* Definition of a color_t array 'palette' containing the colors */
color_t palette[] = {
charcoal, onyx, gunmetal, jet_black, outer_space, eerie_black, oil, black_coral,
raisin_black, dark_charcoal, dark_jungle_green, pine_tree, rich_black, eclipse, cafe_noir,
prussian_blue, midnight_green, charleston_green, rich_black_fogra, dark_liver, dark_slate_gray, black_olive, cadet,
dark_sienna, bistre_brown, dark_puce, wenge,
dark_scarlet, burnt_umber, caput_mortuum, barn_red,
platinum, anti_flash_white, silver_sand, quick_silver,
dark_powder_blue, sapphire_blue, international_klein_blue, zaffre,
fish_belly, rusty_red, falu_red, cordovan, dark_raspberry, deep_magenta, byzantium,
amethyst, wisteria, lavender_purple, opera_mauve, mauve_taupe, rich_lavender, pansy_purple,
violet_eggplant, jazzberry_jam, dark_orchid, electric_purple, barbie_pink,
steel_pink, sky_magenta, brilliant_rose, fuchsia_purple, french_raspberry,
wild_watermelon, salmon_pink, neon_carrot, burnt_orange, carrot_orange, tiger_orange,
giant_onion, rust, copper_red, dark_tangerine, bright_marigold,
ochre, sienna, sandy_brown, golden_brown, camel, burnt_sienna, khaki, dark_khaki,
fern_green, moss_green, myrtle_green, pine_green, jungle_green, sacramento_green,
yale_blue, cobalt_blue, persian_blue, royal_blue, iceberg, blue_yonder,
cocoa_brown, cinnamon_satin, fallow, cafe_au_lait, liver, shadow, cool_grey, payne_grey,
timberwolf, gainsboro, light_gray, silver_chalice, roman_silver,
electric_lavender, magenta_haze, cyber_grape, purple_navy, liberty,
purple_mountain_majesty, ceil, moonstone_blue, independence
};
struct {
const char* section;
int count;
} sections[] = {
{"Main Panel Backgrounds", 8},
{"Secondary Panels or Sidebars", 6},
{"Flat Buttons", 8},
{"Button highlights (hover)", 4},
{"Raised button effects", 4},
{"Text and Icons", 4},
{"Links and Selections", 4},
{"Additional Colors", 28},
{"Earthy Tones", 8},
{"Greens", 6},
{"Blues", 6},
{"Miscellaneous", 8},
{"Lighter Tones for Contrast", 5},
{"Dark Mode Specific Highlights", 9}
};
const char* color_names[] = {
"Charcoal",
"Onyx",
"Gunmetal",
"Jet Black",
"Outer Space",
"Eerie Black",
"Oil",
"Black Coral",
"Raisin Black",
"Dark Charcoal",
"Dark Jungle Green",
"Pine Tree",
"Rich Black",
"Eclipse",
"Cafe Noir",
"Prussian Blue",
"Midnight Green",
"Charleston Green",
"Rich Black Fogra",
"Dark Liver",
"Dark Slate Gray",
"Black Olive",
"Cadet",
"Dark Sienna",
"Bistre Brown",
"Dark Puce",
"Wenge",
"Dark Scarlet",
"Burnt Umber",
"Caput Mortuum",
"Barn Red",
"Platinum",
"Anti Flash White",
"Silver Sand",
"Quick Silver",
"Dark Powder Blue",
"Sapphire Blue",
"International Klein Blue",
"Zaffre",
"Fish Belly",
"Rusty Red",
"Falu Red",
"Cordovan",
"Dark Raspberry",
"Deep Magenta",
"Byzantium",
"Amethyst",
"Wisteria",
"Lavender Purple",
"Opera Mauve",
"Mauve Taupe",
"Rich Lavender",
"Pansy Purple",
"Violet Eggplant",
"Jazzberry Jam",
"Dark Orchid",
"Electric Purple",
"Barbie Pink",
"Steel Pink",
"Sky Magenta",
"Brilliant Rose",
"Fuchsia Purple",
"French Raspberry",
"Wild Watermelon",
"Salmon Pink",
"Neon Carrot",
"Burnt Orange",
"Carrot Orange",
"Tiger Orange",
"Giant Onion",
"Rust",
"Copper Red",
"Dark Tangerine",
"Bright Marigold",
"Ochre",
"Sienna",
"Sandy Brown",
"Golden Brown",
"Camel",
"Burnt Sienna",
"Khaki",
"Dark Khaki",
"Fern Green",
"Moss Green",
"Myrtle Green",
"Pine Green",
"Jungle Green",
"Sacramento Green",
"Yale Blue",
"Cobalt Blue",
"Persian Blue",
"Royal Blue",
"Iceberg",
"Blue Yonder",
"Cocoa Brown",
"Cinnamon Satin",
"Fallow",
"Cafe Au Lait",
"Liver",
"Shadow",
"Cool Grey",
"Payne Grey",
"Timberwolf",
"Gainsboro",
"Light Gray",
"Silver Chalice",
"Roman Silver",
"Electric Lavender",
"Magenta Haze",
"Cyber Grape",
"Purple Navy",
"Liberty",
"Purple Mountain Majesty",
"Ceil",
"Moonstone Blue",
"Independence"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment