use egui::Color32;

/// RAL Classic colours as `(number, name, Color32)`.
pub const RAL_COLORS: &[(u16, &str, Color32)] = &[
    (1000, "Green beige", Color32::from_rgb(0xcd, 0xba, 0x88)),
    (1001, "Beige", Color32::from_rgb(0xd0, 0xb0, 0x84)),
    (1002, "Sand yellow", Color32::from_rgb(0xd2, 0xaa, 0x6d)),
    (1003, "Signal yellow", Color32::from_rgb(0xf9, 0xa8, 0x00)),
    (1004, "Golden yellow", Color32::from_rgb(0xe4, 0x9e, 0x00)),
    (1005, "Honey yellow", Color32::from_rgb(0xcb, 0x8e, 0x00)),
    (1006, "Maize yellow", Color32::from_rgb(0xe2, 0x90, 0x00)),
    (1007, "Daffodil yellow", Color32::from_rgb(0xe8, 0x8c, 0x00)),
    (1011, "Brown beige", Color32::from_rgb(0xaf, 0x80, 0x4f)),
    (1012, "Lemon yellow", Color32::from_rgb(0xdd, 0xaf, 0x27)),
    (1013, "Oyster white", Color32::from_rgb(0xe3, 0xd9, 0xc6)),
    (1014, "Ivory", Color32::from_rgb(0xdd, 0xc4, 0x9a)),
    (1015, "Light ivory", Color32::from_rgb(0xe6, 0xd2, 0xb5)),
    (1016, "Sulfur yellow", Color32::from_rgb(0xf1, 0xdd, 0x38)),
    (1017, "Saffron yellow", Color32::from_rgb(0xf6, 0xa9, 0x50)),
    (1018, "Zinc yellow", Color32::from_rgb(0xfa, 0xca, 0x30)),
    (1019, "Grey beige", Color32::from_rgb(0xa4, 0x8f, 0x7a)),
    (1020, "Olive yellow", Color32::from_rgb(0xa0, 0x8f, 0x65)),
    (1021, "Colza yellow", Color32::from_rgb(0xf6, 0xb6, 0x00)),
    (1023, "Traffic yellow", Color32::from_rgb(0xf7, 0xb5, 0x00)),
    (1024, "Ochre yellow", Color32::from_rgb(0xba, 0x8f, 0x4c)),
    (1026, "Luminous yellow", Color32::from_rgb(0xff, 0xff, 0x00)),
    (1027, "Curry", Color32::from_rgb(0xa7, 0x7f, 0x0e)),
    (1028, "Melon yellow", Color32::from_rgb(0xff, 0x9b, 0x00)),
    (1032, "Broom yellow", Color32::from_rgb(0xe2, 0xa3, 0x00)),
    (1033, "Dahlia yellow", Color32::from_rgb(0xf9, 0x9a, 0x1c)),
    (1034, "Pastel yellow", Color32::from_rgb(0xeb, 0x9c, 0x52)),
    (1035, "Pearl beige", Color32::from_rgb(0x90, 0x83, 0x70)),
    (1036, "Pearl gold", Color32::from_rgb(0x80, 0x64, 0x3f)),
    (1037, "Sun yellow", Color32::from_rgb(0xf0, 0x92, 0x00)),
    (2000, "Yellow orange", Color32::from_rgb(0xdd, 0x79, 0x07)),
    (2001, "Red orange", Color32::from_rgb(0xbe, 0x4e, 0x20)),
    (2002, "Vermilion", Color32::from_rgb(0xc6, 0x39, 0x27)),
    (2003, "Pastel orange", Color32::from_rgb(0xfa, 0x84, 0x2b)),
    (2004, "Pure orange", Color32::from_rgb(0xe7, 0x5b, 0x12)),
    (2005, "Luminous orange", Color32::from_rgb(0xff, 0x23, 0x00)),
    (
        2007,
        "Luminous bright orange",
        Color32::from_rgb(0xff, 0xa4, 0x21),
    ),
    (
        2008,
        "Bright red orange",
        Color32::from_rgb(0xf3, 0x75, 0x2c),
    ),
    (2009, "Traffic orange", Color32::from_rgb(0xe1, 0x55, 0x01)),
    (2010, "Signal orange", Color32::from_rgb(0xd4, 0x65, 0x2f)),
    (2011, "Deep orange", Color32::from_rgb(0xec, 0x7c, 0x25)),
    (2012, "Salmon orange", Color32::from_rgb(0xdb, 0x6a, 0x50)),
    (2013, "Pearl orange", Color32::from_rgb(0x95, 0x45, 0x27)),
    (2017, "RAL orange", Color32::from_rgb(0xfa, 0x44, 0x02)),
    (3000, "Flame red", Color32::from_rgb(0xab, 0x25, 0x24)),
    (3001, "Signal red", Color32::from_rgb(0xa0, 0x21, 0x28)),
    (3002, "Carmine red", Color32::from_rgb(0xa1, 0x23, 0x2b)),
    (3003, "Ruby red", Color32::from_rgb(0x8d, 0x1d, 0x2c)),
    (3004, "Purple red", Color32::from_rgb(0x70, 0x1f, 0x29)),
    (3005, "Wine red", Color32::from_rgb(0x5e, 0x20, 0x28)),
    (3007, "Black red", Color32::from_rgb(0x40, 0x22, 0x25)),
    (3009, "Oxide red", Color32::from_rgb(0x70, 0x37, 0x31)),
    (3011, "Brown red", Color32::from_rgb(0x7e, 0x29, 0x2c)),
    (3012, "Beige red", Color32::from_rgb(0xcb, 0x8d, 0x73)),
    (3013, "Tomato red", Color32::from_rgb(0x9c, 0x32, 0x2e)),
    (3014, "Antique pink", Color32::from_rgb(0xd4, 0x74, 0x79)),
    (3015, "Light pink", Color32::from_rgb(0xe1, 0xa6, 0xad)),
    (3016, "Coral red", Color32::from_rgb(0xac, 0x40, 0x34)),
    (3017, "Rose", Color32::from_rgb(0xd3, 0x54, 0x5f)),
    (3018, "Strawberry red", Color32::from_rgb(0xd1, 0x41, 0x52)),
    (3020, "Traffic red", Color32::from_rgb(0xc1, 0x12, 0x1c)),
    (3022, "Salmon pink", Color32::from_rgb(0xd5, 0x6d, 0x56)),
    (3024, "Luminous red", Color32::from_rgb(0xf7, 0x00, 0x00)),
    (
        3026,
        "Luminous bright red",
        Color32::from_rgb(0xff, 0x00, 0x00),
    ),
    (3027, "Raspberry red", Color32::from_rgb(0xb4, 0x20, 0x41)),
    (3028, "Pure red", Color32::from_rgb(0xe7, 0x25, 0x12)),
    (3031, "Orient red", Color32::from_rgb(0xac, 0x32, 0x3b)),
    (3032, "Pearl ruby red", Color32::from_rgb(0x71, 0x15, 0x21)),
    (3033, "Pearl pink", Color32::from_rgb(0xb2, 0x4c, 0x43)),
    (4001, "Red lilac", Color32::from_rgb(0x8a, 0x5a, 0x83)),
    (4002, "Red violet", Color32::from_rgb(0x93, 0x3d, 0x50)),
    (4003, "Heather violet", Color32::from_rgb(0xd1, 0x5b, 0x8f)),
    (4004, "Claret violet", Color32::from_rgb(0x69, 0x16, 0x39)),
    (4005, "Blue lilac", Color32::from_rgb(0x83, 0x63, 0x9d)),
    (4006, "Traffic purple", Color32::from_rgb(0x99, 0x25, 0x72)),
    (4007, "Purple violet", Color32::from_rgb(0x4a, 0x20, 0x3b)),
    (4008, "Signal violet", Color32::from_rgb(0x90, 0x46, 0x84)),
    (4009, "Pastel violet", Color32::from_rgb(0xa3, 0x89, 0x95)),
    (4010, "Telemagenta", Color32::from_rgb(0xc6, 0x36, 0x78)),
    (4011, "Pearl violet", Color32::from_rgb(0x87, 0x73, 0xa1)),
    (
        4012,
        "Pearl blackberry",
        Color32::from_rgb(0x6b, 0x68, 0x80),
    ),
    (5000, "Violet blue", Color32::from_rgb(0x38, 0x4c, 0x70)),
    (5001, "Green blue", Color32::from_rgb(0x1f, 0x47, 0x64)),
    (
        5002,
        "Ultramarine blue",
        Color32::from_rgb(0x2b, 0x2c, 0x7c),
    ),
    (5003, "Sapphire blue", Color32::from_rgb(0x2a, 0x37, 0x56)),
    (5004, "Black blue", Color32::from_rgb(0x1d, 0x1f, 0x2a)),
    (5005, "Signal blue", Color32::from_rgb(0x15, 0x48, 0x89)),
    (5007, "Brilliant blue", Color32::from_rgb(0x41, 0x67, 0x8d)),
    (5008, "Grey blue", Color32::from_rgb(0x31, 0x3c, 0x48)),
    (5009, "Azure blue", Color32::from_rgb(0x2e, 0x59, 0x78)),
    (5010, "Gentian blue", Color32::from_rgb(0x13, 0x44, 0x7c)),
    (5011, "Steel blue", Color32::from_rgb(0x23, 0x2c, 0x3f)),
    (5012, "Light blue", Color32::from_rgb(0x34, 0x81, 0xb8)),
    (5013, "Cobalt blue", Color32::from_rgb(0x23, 0x2d, 0x53)),
    (5014, "Pigeon blue", Color32::from_rgb(0x6c, 0x7c, 0x98)),
    (5015, "Sky blue", Color32::from_rgb(0x28, 0x74, 0xb2)),
    (5017, "Traffic blue", Color32::from_rgb(0x0e, 0x51, 0x8d)),
    (5018, "Turquoise blue", Color32::from_rgb(0x21, 0x88, 0x8f)),
    (5019, "Capri blue", Color32::from_rgb(0x1a, 0x57, 0x84)),
    (5020, "Ocean blue", Color32::from_rgb(0x0b, 0x41, 0x51)),
    (5021, "Water blue", Color32::from_rgb(0x07, 0x73, 0x7a)),
    (5022, "Night blue", Color32::from_rgb(0x2f, 0x2a, 0x5a)),
    (5023, "Distant blue", Color32::from_rgb(0x4d, 0x66, 0x8e)),
    (5024, "Pastel blue", Color32::from_rgb(0x6a, 0x93, 0xb0)),
    (
        5025,
        "Pearl Gentian blue",
        Color32::from_rgb(0x29, 0x64, 0x78),
    ),
    (
        5026,
        "Pearl night blue",
        Color32::from_rgb(0x10, 0x2c, 0x54),
    ),
    (6000, "Patina green", Color32::from_rgb(0x32, 0x76, 0x62)),
    (6001, "Emerald green", Color32::from_rgb(0x28, 0x71, 0x3e)),
    (6002, "Leaf green", Color32::from_rgb(0x27, 0x62, 0x35)),
    (6003, "Olive green", Color32::from_rgb(0x4b, 0x57, 0x3e)),
    (6004, "Blue green", Color32::from_rgb(0x0e, 0x42, 0x43)),
    (6005, "Moss green", Color32::from_rgb(0x0f, 0x43, 0x36)),
    (6006, "Grey olive", Color32::from_rgb(0x40, 0x43, 0x3b)),
    (6007, "Bottle green", Color32::from_rgb(0x28, 0x34, 0x24)),
    (6008, "Brown green", Color32::from_rgb(0x35, 0x38, 0x2e)),
    (6009, "Fir green", Color32::from_rgb(0x26, 0x39, 0x2f)),
    (6010, "Grass green", Color32::from_rgb(0x3e, 0x75, 0x3b)),
    (6011, "Reseda green", Color32::from_rgb(0x68, 0x82, 0x5b)),
    (6012, "Black green", Color32::from_rgb(0x31, 0x40, 0x3d)),
    (6013, "Reed green", Color32::from_rgb(0x79, 0x7c, 0x5a)),
    (6014, "Yellow olive", Color32::from_rgb(0x44, 0x43, 0x37)),
    (6015, "Black olive", Color32::from_rgb(0x3d, 0x40, 0x3a)),
    (6016, "Turquoise green", Color32::from_rgb(0x02, 0x6a, 0x52)),
    (6017, "May green", Color32::from_rgb(0x46, 0x86, 0x41)),
    (6018, "Yellow green", Color32::from_rgb(0x48, 0xa4, 0x3f)),
    (6019, "Pastel green", Color32::from_rgb(0xb7, 0xd9, 0xb1)),
    (6020, "Chrome green", Color32::from_rgb(0x35, 0x47, 0x33)),
    (6021, "Pale green", Color32::from_rgb(0x86, 0xa4, 0x7c)),
    (
        6022,
        "Olive-drab/brown olive",
        Color32::from_rgb(0x3e, 0x3c, 0x32),
    ),
    (6024, "Traffic green", Color32::from_rgb(0x00, 0x87, 0x54)),
    (6025, "Fern green", Color32::from_rgb(0x53, 0x75, 0x3c)),
    (6026, "Opal green", Color32::from_rgb(0x00, 0x5d, 0x52)),
    (6027, "Light green", Color32::from_rgb(0x81, 0xc0, 0xbb)),
    (6028, "Pine green", Color32::from_rgb(0x2d, 0x55, 0x46)),
    (6029, "Mint green", Color32::from_rgb(0x00, 0x72, 0x43)),
    (6032, "Signal green", Color32::from_rgb(0x0f, 0x85, 0x58)),
    (6033, "Mint turquoise", Color32::from_rgb(0x47, 0x8a, 0x84)),
    (
        6034,
        "Pastel turquoise",
        Color32::from_rgb(0x7f, 0xb0, 0xb2),
    ),
    (6035, "Pearl green", Color32::from_rgb(0x1b, 0x54, 0x2c)),
    (
        6036,
        "Pearl opal green",
        Color32::from_rgb(0x00, 0x5d, 0x4c),
    ),
    (6037, "Pure green", Color32::from_rgb(0x25, 0xe7, 0x12)),
    (6038, "Luminous green", Color32::from_rgb(0x00, 0xf7, 0x00)),
    (7000, "Squirrel grey", Color32::from_rgb(0x7e, 0x8b, 0x92)),
    (7001, "Silver grey", Color32::from_rgb(0x8f, 0x99, 0x9f)),
    (7002, "Olive grey", Color32::from_rgb(0x81, 0x7f, 0x68)),
    (7003, "Moss grey", Color32::from_rgb(0x7a, 0x7b, 0x6d)),
    (7004, "Signal grey", Color32::from_rgb(0x9e, 0xa0, 0xa1)),
    (7005, "Mouse grey", Color32::from_rgb(0x6b, 0x71, 0x6f)),
    (7006, "Beige grey", Color32::from_rgb(0x75, 0x6f, 0x61)),
    (7008, "Khaki grey", Color32::from_rgb(0x74, 0x66, 0x43)),
    (7009, "Green grey", Color32::from_rgb(0x5b, 0x62, 0x59)),
    (7010, "Tarpaulin grey", Color32::from_rgb(0x57, 0x5d, 0x57)),
    (7011, "Iron grey", Color32::from_rgb(0x55, 0x5d, 0x61)),
    (7012, "Basalt grey", Color32::from_rgb(0x59, 0x61, 0x63)),
    (7013, "Brown grey", Color32::from_rgb(0x55, 0x55, 0x48)),
    (7015, "Slate grey", Color32::from_rgb(0x51, 0x56, 0x5c)),
    (7016, "Anthracite grey", Color32::from_rgb(0x37, 0x3f, 0x43)),
    (7021, "Black grey", Color32::from_rgb(0x2e, 0x32, 0x34)),
    (7022, "Umbra grey", Color32::from_rgb(0x4b, 0x4d, 0x46)),
    (7023, "Concrete grey", Color32::from_rgb(0x81, 0x84, 0x79)),
    (7024, "Graphite grey", Color32::from_rgb(0x47, 0x4a, 0x50)),
    (7026, "Granite grey", Color32::from_rgb(0x37, 0x44, 0x47)),
    (7030, "Stone grey", Color32::from_rgb(0x93, 0x93, 0x88)),
    (7031, "Blue grey", Color32::from_rgb(0x5d, 0x69, 0x70)),
    (7032, "Pebble grey", Color32::from_rgb(0xb9, 0xb9, 0xa8)),
    (7033, "Cement grey", Color32::from_rgb(0x81, 0x89, 0x79)),
    (7034, "Yellow grey", Color32::from_rgb(0x93, 0x91, 0x76)),
    (7035, "Light grey", Color32::from_rgb(0xcb, 0xd0, 0xcc)),
    (7036, "Platinum grey", Color32::from_rgb(0x9a, 0x96, 0x97)),
    (7037, "Dusty grey", Color32::from_rgb(0x7c, 0x7f, 0x7e)),
    (7038, "Agate grey", Color32::from_rgb(0xb4, 0xb8, 0xb0)),
    (7039, "Quartz grey", Color32::from_rgb(0x6b, 0x69, 0x5f)),
    (7040, "Window grey", Color32::from_rgb(0x9d, 0xa3, 0xa6)),
    (7042, "Traffic grey A", Color32::from_rgb(0x8f, 0x96, 0x95)),
    (7043, "Traffic grey B", Color32::from_rgb(0x4e, 0x54, 0x51)),
    (7044, "Silk grey", Color32::from_rgb(0xbd, 0xbd, 0xb2)),
    (7045, "Telegrey 1", Color32::from_rgb(0x91, 0x96, 0x9a)),
    (7046, "Telegrey 2", Color32::from_rgb(0x82, 0x89, 0x8e)),
    (7047, "Telegrey 4", Color32::from_rgb(0xcf, 0xd0, 0xcf)),
    (
        7048,
        "Pearl mouse grey",
        Color32::from_rgb(0x88, 0x81, 0x75),
    ),
    (8000, "Green brown", Color32::from_rgb(0x88, 0x71, 0x42)),
    (8001, "Ochre brown", Color32::from_rgb(0x9c, 0x6b, 0x30)),
    (8002, "Signal brown", Color32::from_rgb(0x7b, 0x51, 0x41)),
    (8003, "Clay brown", Color32::from_rgb(0x80, 0x54, 0x2f)),
    (8004, "Copper brown", Color32::from_rgb(0x8f, 0x4e, 0x35)),
    (8007, "Fawn brown", Color32::from_rgb(0x6f, 0x4a, 0x2f)),
    (8008, "Olive brown", Color32::from_rgb(0x6f, 0x4f, 0x28)),
    (8011, "Nut brown", Color32::from_rgb(0x5a, 0x3a, 0x29)),
    (8012, "Red brown", Color32::from_rgb(0x67, 0x38, 0x31)),
    (8014, "Sepia brown", Color32::from_rgb(0x49, 0x39, 0x2d)),
    (8015, "Chestnut brown", Color32::from_rgb(0x63, 0x3a, 0x34)),
    (8016, "Mahogany brown", Color32::from_rgb(0x4c, 0x2f, 0x26)),
    (8017, "Chocolate brown", Color32::from_rgb(0x44, 0x32, 0x2d)),
    (8019, "Grey brown", Color32::from_rgb(0x3f, 0x3a, 0x3a)),
    (8022, "Black brown", Color32::from_rgb(0x21, 0x1f, 0x20)),
    (8023, "Orange brown", Color32::from_rgb(0xa6, 0x5e, 0x2f)),
    (8024, "Beige brown", Color32::from_rgb(0x79, 0x55, 0x3c)),
    (8025, "Pale brown", Color32::from_rgb(0x75, 0x5c, 0x49)),
    (8028, "Terra brown", Color32::from_rgb(0x4e, 0x3b, 0x2b)),
    (8029, "Pearl copper", Color32::from_rgb(0x77, 0x3c, 0x27)),
    (9001, "Cream", Color32::from_rgb(0xef, 0xeb, 0xdc)),
    (9002, "Grey white", Color32::from_rgb(0xdd, 0xde, 0xd4)),
    (9003, "Signal white", Color32::from_rgb(0xf4, 0xf8, 0xf4)),
    (9004, "Signal black", Color32::from_rgb(0x2e, 0x30, 0x32)),
    (9005, "Jet black", Color32::from_rgb(0x0a, 0x0a, 0x0d)),
    (9006, "White aluminium", Color32::from_rgb(0xa5, 0xa8, 0xa6)),
    (9007, "Grey aluminium", Color32::from_rgb(0x8f, 0x8f, 0x8c)),
    (9010, "Pure white", Color32::from_rgb(0xf7, 0xf9, 0xef)),
    (9011, "Graphite black", Color32::from_rgb(0x1c, 0x1c, 0x1c)),
    (
        9012,
        "Clean room white",
        Color32::from_rgb(0xff, 0xfd, 0xe6),
    ),
    (9016, "Traffic white", Color32::from_rgb(0xf7, 0xfb, 0xf5)),
    (9017, "Traffic black", Color32::from_rgb(0x2a, 0x2d, 0x2f)),
    (9018, "Papyrus white", Color32::from_rgb(0xcf, 0xd3, 0xcd)),
    (
        9022,
        "Pearl light grey",
        Color32::from_rgb(0x9c, 0x9c, 0x9c),
    ),
    (9023, "Pearl dark grey", Color32::from_rgb(0x7e, 0x81, 0x82)),
];
