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;
@Varun11101
Copy link

Thanks a lot.

@fernandes99
Copy link

Thanks! Help me a lot

@DarlonHenrique
Copy link

u are my hero

@aryan-tayal
Copy link

Thanks a lot. Helped with my Codepen.

Copy link

ghost commented Aug 18, 2022

tysm

@petterkraus
Copy link

this was helpful, thx mate

@willigro
Copy link

Very helpful, that odin bless you

@emrislm
Copy link

emrislm commented Sep 14, 2022

Very nice!

@Aveshkhan
Copy link

Great Work!! Time Saver.

@yyyanghj
Copy link

yyyanghj commented Oct 28, 2022

Thanks a lot!

@MiguelDecode
Copy link

Thanks, very helpful.

@NazarenoCarlesso
Copy link

Thanks!

@abbywadsworth
Copy link

abbywadsworth commented Mar 31, 2023

Thank you so much! This is amazing!

Here is a link to my blog where I mention this repository. It is something I am doing for my class and for fun.

https://abbywadsworth.github.io/my386blog/

@nikobiebl
Copy link

kuss Bruder

@Einma
Copy link

Einma commented Jun 16, 2023

Thanks you so much.

@sairamkumarm
Copy link

Yo! Thanks man! Bing AI led me here.

@joaovictorr07
Copy link

thanks

@Luis-Cerchiaro
Copy link

only one word, thanks!!!

@zackenichi
Copy link

Thank you! I really needed the accurate colors.

@dudassmelo
Copy link

thankss!!

@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