Skip to content

Instantly share code, notes, and snippets.

@mekdie
Last active January 7, 2023 15:05
Show Gist options
  • Save mekdie/70ee38e07b2c30529659b4af80e66837 to your computer and use it in GitHub Desktop.
Save mekdie/70ee38e07b2c30529659b4af80e66837 to your computer and use it in GitHub Desktop.
A simple js file consists of pokemon type (as object) with its color hex code
const colorTypesObj = {
normal: "#aab09f",
fire: "#ee8130",
fighting: "#cb5f48",
water: "#6390f0",
poison: "#a33ea1",
electric: "#f7d02c",
ground: "#e2bf65",
grass: "#7ac74c",
flying: "#7da6de",
ice: "#96d9d6",
bug: "#a6b91a",
psychic: "#f95587",
rock: "#b6a136",
dragon: "#6a7baf",
ghost: "#735797",
dark: "#736c75",
steel: "#89a1b0",
fairy: "#d685ad",
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment