Skip to content

Instantly share code, notes, and snippets.

@boazsender
Created November 10, 2024 01:24
Show Gist options
  • Save boazsender/b6cab27b93df47f93817d47c35653211 to your computer and use it in GitHub Desktop.
Save boazsender/b6cab27b93df47f93817d47c35653211 to your computer and use it in GitHub Desktop.
Nipon Colors
/*
From Nipon Colors (https://nipponcolors.com) CSS:
https://nipponcolors.com/min/g=nipponcolors_css
*/
const niponNames = {
NADESHIKO: "DC9FB4",
KOHBAI: "E16B8C",
SUOH: "8E354A",
TAIKOH: "F8C3CD",
IKKONZOME: "F4A7B9",
KUWAZOME: "64363C",
MOMO: "F596AA",
ICHIGO: "B5495B",
USUBENI: "E87A90",
IMAYOH: "D05A6E",
NAKABENI: "DB4D6D",
SAKURA: "FEDFE1",
UMENEZUMI: "9E7A7A",
KARAKURENAI: "D0104C",
ENJI: "9F353A",
KURENAI: "CB1B45",
TOKI: "EEA9A9",
CYOHSYUN: "BF6766",
KOKIAKE: "86473F",
SAKURANEZUMI: "B19693",
JINZAMOMI: "EB7A77",
AZUKI: "954A45",
SUOHKOH: "A96360",
AKABENI: "CB4042",
SHINSYU: "AB3B3A",
HAIZAKURA: "D7C4BB",
KURIUME: "904840",
EBICHA: "734338",
GINSYU: "C73E3A",
KUROTOBI: "554236",
BENITOBI: "994639",
AKEBONO: "F19483",
BENIKABA: "B54434",
MIZUGAKI: "B9887D",
SANGOSYU: "F17C67",
BENIHIWADA: "884C3A",
SYOJYOHI: "E83015",
ENTAN: "D75455",
SHIKANCHA: "B55D4C",
HIWADA: "854836",
KAKISHIBU: "A35E47",
AKE: "CC543A",
TOBI: "724832",
BENIHI: "F75C2F",
KURIKAWACHA: "6A4028",
BENGARA: "9A5034",
TERIGAKI: "C46243",
EDOCHA: "AF5F3C",
ARAISYU: "FB966E",
MOMOSHIOCHA: "724938",
KARACHA: "B47157",
TOKIGARACHA: "DB8E71",
OHNI: "F05E1C",
SOHI: "ED784A",
ENSYUCHA: "CA7853",
KABACHA: "B35C37",
KOGECHA: "563F2E",
AKAKOH: "E3916E",
SUZUMECHA: "8F5A3C",
SHISHI: "F0A986",
SODENKARACHA: "A0674B",
KABA: "C1693C",
KOKIKUCHINASHI: "FB9966",
KURUMI: "947A6D",
TAISYA: "A36336",
ARAIGAKI: "E79460",
KOHROZEN: "7D532C",
AKAKUCHIBA: "C78550",
TONOCHA: "985F2A",
AKASHIROTSURUBAMI: "E1A679",
SENCHA: "855B32",
KANZO: "FC9F4D",
SHAREGAKI: "FFBA84",
BENIUKON: "E98B2A",
UMEZOME: "E9A368",
BIWACHA: "B17844",
CHOJICHA: "96632E",
KENPOHZOME: "43341B",
KOHAKU: "CA7A2C",
USUGAKI: "ECB88A",
KYARA: "78552B",
CHOJIZOME: "B07736",
FUSHIZOME: "967249",
KUCHIBA: "E2943B",
KINCHA: "C7802D",
KITSUNE: "9B6E23",
SUSUTAKE: "6E552F",
USUKOH: "EBB471",
TONOKO: "D7B98E",
GINSUSUTAKE: "82663A",
OHDO: "B68E55",
SHIRACHA: "BC9F77",
KOBICHA: "876633",
KIGARACHA: "C18A26",
YAMABUKI: "FFB11B",
YAMABUKICHA: "D19826",
HAJIZOME: "DDA52D",
KUWACHA: "C99833",
TAMAGO: "F9BF45",
SHIROTSURUBAMI: "DCB879",
KITSURUBAMI: "BA9132",
TAMAMOROKOSHI: "E8B647",
HANABA: "F7C242",
NAMAKABE: "7D6C46",
TORINOKO: "DAC9A6",
USUKI: "FAD689",
KIKUCHIBA: "D9AB42",
KUCHINASHI: "F6C555",
TOHOH: "FFC408",
UKON: "EFBB24",
KARASHI: "CAAD5F",
HIGOSUSUTAKE: "8D742A",
RIKYUSHIRACHA: "B4A582",
AKU: "877F6C",
RIKYUCHA: "897D55",
ROKOHCHA: "74673E",
NATANEYU: "A28C37",
UGUISUCHA: "6C6024",
KIMIRUCHA: "867835",
MIRUCHA: "62592C",
KARIYASU: "E9CD4C",
NANOHANA: "F7D94C",
KIHADA: "FBE251",
MUSHIKURI: "D9CD90",
AOKUCHIBA: "ADA142",
OMINAESHI: "DDD23B",
HIWACHA: "A5A051",
HIWA: "BEC23F",
UGUISU: "6C6A2D",
YANAGICHA: "939650",
KOKE: "838A2D",
KIKUJIN: "B1B479",
RIKANCHA: "616138",
AIKOBICHA: "4B4E2A",
MIRU: "5B622E",
SENSAICHA: "4D5139",
BAIKOCHA: "89916B",
HIWAMOEGI: "90B44B",
YANAGIZOME: "91AD70",
URAYANAGI: "B5CAA0",
IWAICHA: "646A58",
MOEGI: "7BA23F",
NAE: "86C166",
YANAGISUSUTAKE: "4A593D",
MATSUBA: "42602D",
AONI: "516E41",
USUAO: "91B493",
YANAGINEZUMI: "808F7C",
TOKIWA: "1B813E",
WAKATAKE: "5DAC81",
CHITOSEMIDORI: "36563C",
MIDORI: "227D51",
BYAKUROKU: "A8D8B9",
OITAKE: "6A8372",
TOKUSA: "2D6D4B",
ONANDOCHA: "465D4C",
ROKUSYOH: "24936E",
SABISEIJI: "86A697",
AOTAKE: "00896C",
VELUDO: "096148",
MUSHIAO: "20604F",
AIMIRUCHA: "0F4C3A",
TONOCHA2: "4F726C",
AOMIDORI: "00AA90",
SEIJI: "69B0AC",
TETSU: "26453D",
MIZUASAGI: "66BAB7",
SEIHEKI: "268785",
SABITETSUONANDO: "405B55",
KORAINANDO: "305A56",
BYAKUGUN: "78C2C4",
OMESHICHA: "376B6D",
KAMENOZOKI: "A5DEE4",
FUKAGAWANEZUMI: "77969A",
SABIASAGI: "6699A1",
MIZU: "81C7D4",
ASAGI: "33A6B8",
ONANDO: "0C4842",
AI: "0D5661",
SHINBASHI: "0089A7",
SABIONANDO: "336774",
TETSUONANDO: "255359",
HANAASAGI: "1E88A8",
AINEZUMI: "566C73",
MASUHANA: "577C8A",
SORA: "58B2DC",
NOSHIMEHANA: "2B5F75",
CHIGUSA: "3A8FB7",
OMESHIONANDO: "2E5C6E",
HANADA: "006284",
WASURENAGUSA: "7DB9DE",
GUNJYO: "51A8DD",
TSUYUKUSA: "2EA9DF",
KUROTSURUBAMI: "0B1013",
KON: "0F2540",
KACHI: "08192D",
RURI: "005CAF",
RURIKON: "0B346E",
BENIMIDORI: "7B90D2",
FUJINEZUMI: "6E75A4",
TETSUKON: "261E47",
KONJYO: "113285",
BENIKAKEHANA: "4E4F97",
KONKIKYO: "211E55",
FUJI: "8B81C3",
FUTAAI: "70649A",
OUCHI: "9B90C2",
FUJIMURASAKI: "8A6BBE",
KIKYO: "6A4C9C",
SHION: "8F77B5",
MESSHI: "533D5B",
USU: "B28FCE",
HASHITA: "986DB2",
EDOMURASAKI: "77428D",
SHIKON: "3C2F41",
KOKIMURASAKI: "4A225D",
SUMIRE: "66327C",
MURASAKI: "592C63",
AYAME: "6F3381",
FUJISUSUTAKE: "574C57",
BENIFUJI: "B481BB",
KUROBENI: "3F2B36",
NASUKON: "572A3F",
BUDOHNEZUMI: "5E3D50",
HATOBANEZUMI: "72636E",
KAKITSUBATA: "622954",
EBIZOME: "6D2E5B",
BOTAN: "C1328E",
UMEMURASAKI: "A8497A",
NISEMURASAKI: "562E37",
TSUTSUJI: "E03C8A",
MURASAKITOBI: "60373E",
SHIRONERI: "FCFAF2",
GOFUN: "FFFFFB",
SHIRONEZUMI: "BDC0BA",
GINNEZUMI: "91989F",
NAMARI: "787878",
HAI: "828282",
SUNEZUMI: "787D7B",
RIKYUNEZUMI: "707C74",
NIBI: "656765",
AONIBI: "535953",
DOBUNEZUMI: "4F4F48",
BENIKESHINEZUMI: "52433D",
AISUMICHA: "373C38",
BINROJIZOME: "3A3226",
KESHIZUMI: "434343",
SUMI: "1C1C1C",
KURO: "080808",
RO: "0C0C0C",
};
const niponHex = [
"#DC9FB4",
"#E16B8C",
"#8E354A",
"#F8C3CD",
"#F4A7B9",
"#64363C",
"#F596AA",
"#B5495B",
"#E87A90",
"#D05A6E",
"#DB4D6D",
"#FEDFE1",
"#9E7A7A",
"#D0104C",
"#9F353A",
"#CB1B45",
"#EEA9A9",
"#BF6766",
"#86473F",
"#B19693",
"#EB7A77",
"#954A45",
"#A96360",
"#CB4042",
"#AB3B3A",
"#D7C4BB",
"#904840",
"#734338",
"#C73E3A",
"#554236",
"#994639",
"#F19483",
"#B54434",
"#B9887D",
"#F17C67",
"#884C3A",
"#E83015",
"#D75455",
"#B55D4C",
"#854836",
"#A35E47",
"#CC543A",
"#724832",
"#F75C2F",
"#6A4028",
"#9A5034",
"#C46243",
"#AF5F3C",
"#FB966E",
"#724938",
"#B47157",
"#DB8E71",
"#F05E1C",
"#ED784A",
"#CA7853",
"#B35C37",
"#563F2E",
"#E3916E",
"#8F5A3C",
"#F0A986",
"#A0674B",
"#C1693C",
"#FB9966",
"#947A6D",
"#A36336",
"#E79460",
"#7D532C",
"#C78550",
"#985F2A",
"#E1A679",
"#855B32",
"#FC9F4D",
"#FFBA84",
"#E98B2A",
"#E9A368",
"#B17844",
"#96632E",
"#43341B",
"#CA7A2C",
"#ECB88A",
"#78552B",
"#B07736",
"#967249",
"#E2943B",
"#C7802D",
"#9B6E23",
"#6E552F",
"#EBB471",
"#D7B98E",
"#82663A",
"#B68E55",
"#BC9F77",
"#876633",
"#C18A26",
"#FFB11B",
"#D19826",
"#DDA52D",
"#C99833",
"#F9BF45",
"#DCB879",
"#BA9132",
"#E8B647",
"#F7C242",
"#7D6C46",
"#DAC9A6",
"#FAD689",
"#D9AB42",
"#F6C555",
"#FFC408",
"#EFBB24",
"#CAAD5F",
"#8D742A",
"#B4A582",
"#877F6C",
"#897D55",
"#74673E",
"#A28C37",
"#6C6024",
"#867835",
"#62592C",
"#E9CD4C",
"#F7D94C",
"#FBE251",
"#D9CD90",
"#ADA142",
"#DDD23B",
"#A5A051",
"#BEC23F",
"#6C6A2D",
"#939650",
"#838A2D",
"#B1B479",
"#616138",
"#4B4E2A",
"#5B622E",
"#4D5139",
"#89916B",
"#90B44B",
"#91AD70",
"#B5CAA0",
"#646A58",
"#7BA23F",
"#86C166",
"#4A593D",
"#42602D",
"#516E41",
"#91B493",
"#808F7C",
"#1B813E",
"#5DAC81",
"#36563C",
"#227D51",
"#A8D8B9",
"#6A8372",
"#2D6D4B",
"#465D4C",
"#24936E",
"#86A697",
"#00896C",
"#096148",
"#20604F",
"#0F4C3A",
"#4F726C",
"#00AA90",
"#69B0AC",
"#26453D",
"#66BAB7",
"#268785",
"#405B55",
"#305A56",
"#78C2C4",
"#376B6D",
"#A5DEE4",
"#77969A",
"#6699A1",
"#81C7D4",
"#33A6B8",
"#0C4842",
"#0D5661",
"#0089A7",
"#336774",
"#255359",
"#1E88A8",
"#566C73",
"#577C8A",
"#58B2DC",
"#2B5F75",
"#3A8FB7",
"#2E5C6E",
"#006284",
"#7DB9DE",
"#51A8DD",
"#2EA9DF",
"#0B1013",
"#0F2540",
"#08192D",
"#005CAF",
"#0B346E",
"#7B90D2",
"#6E75A4",
"#261E47",
"#113285",
"#4E4F97",
"#211E55",
"#8B81C3",
"#70649A",
"#9B90C2",
"#8A6BBE",
"#6A4C9C",
"#8F77B5",
"#533D5B",
"#B28FCE",
"#986DB2",
"#77428D",
"#3C2F41",
"#4A225D",
"#66327C",
"#592C63",
"#6F3381",
"#574C57",
"#B481BB",
"#3F2B36",
"#572A3F",
"#5E3D50",
"#72636E",
"#622954",
"#6D2E5B",
"#C1328E",
"#A8497A",
"#562E37",
"#E03C8A",
"#60373E",
"#FCFAF2",
"#FFFFFB",
"#BDC0BA",
"#91989F",
"#787878",
"#828282",
"#787D7B",
"#707C74",
"#656765",
"#535953",
"#4F4F48",
"#52433D",
"#373C38",
"#3A3226",
"#434343",
"#1C1C1C",
"#080808",
"#0C0C0C",
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment