Skip to content

Instantly share code, notes, and snippets.

@apaleslimghost
Created July 21, 2016 09:55
Show Gist options
  • Save apaleslimghost/0d25ec801ca4fc43317bcff298af43c3 to your computer and use it in GitHub Desktop.
Save apaleslimghost/0d25ec801ca4fc43317bcff298af43c3 to your computer and use it in GitHub Desktop.
const colours = {
normal: '#A8A77A',
fire: '#EE8130',
water: '#6390F0',
electric: '#F7D02C',
grass: '#7AC74C',
ice: '#96D9D6',
fighting: '#C22E28',
poison: '#A33EA1',
ground: '#E2BF65',
flying: '#A98FF3',
psychic: '#F95587',
bug: '#A6B91A',
rock: '#B6A136',
ghost: '#735797',
dragon: '#6F35FC',
dark: '#705746',
steel: '#B7B7CE',
fairy: '#D685AD',
};
module.exports = type => colours[type] || '#777';
module.exports.colors = colours;
@limarich
Copy link

Thanks, it will be very usefull !!!
😀🤩🤩

@AsacEt
Copy link

AsacEt commented Jan 23, 2024

Thank uuuuu

@CatRass
Copy link

CatRass commented Feb 15, 2024

Very useful! Saved me an hour of colour picker useful for sure!

@chriskuhtz
Copy link

<3

@SvetLanaJus
Copy link

Thank you!

@Julian7Castillo
Copy link

Thank you, this help my proyect

@joaquincarreno
Copy link

I just happend to need this!

@krislette
Copy link

Thank you for this! Saved me a lot of time for my pokedex app!

@kielllll
Copy link

Thanks!

@Jeelex
Copy link

Jeelex commented Aug 19, 2024

Fantastic! Thanks for this! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment