Go to file
ngoomie 91d80498c4 fix readme 2024-10-22 13:56:14 -06:00
.gitignore Added more to Wikipedia list, added less vers of xkcd list 2024-10-22 13:54:29 -06:00
LICENSE Added more to Wikipedia list, added less vers of xkcd list 2024-10-22 13:54:29 -06:00
README.md fix readme 2024-10-22 13:56:14 -06:00
_wikipedia.scss Added more to Wikipedia list, added less vers of xkcd list 2024-10-22 13:54:29 -06:00
_xkcd.less Added more to Wikipedia list, added less vers of xkcd list 2024-10-22 13:54:29 -06:00
_xkcd.scss fix some of the xkcd colour list's formatting 2023-04-15 19:37:19 -06:00

README.md

CSS colours

A bunch of big default colourlists from elsewhere compiled into CSS and less mixins, because I like using default colour lists when intially hashing out web design stuff.

Licenses for the actual colour lists may vary (can you even bind a pure list of colours to a license?), so take the MIT license as only being for the files in this repo themselves.

Colour lists

Wikipedia's List of Colors — _wikipedia

CURRENTLY ONLY CONTAINS COLOURS FROM A-G
CURRENTLY ONLY AVAILABLE AS SCSS

Colours from Wikipedia's big "List of colors" articles (they're split into multiple because they're huge). I don't really know what the criteria is for adding a colour? This list is cobbled together from a bunch of sources, some of which are now gone.

Some are named duplicates with different values according to their source, and these will be distinguished between by adding an underscore at the end and then some source info (e.g. 'blue' which has 6 duplicates, $blue (this is an X11 colours one), $blue_crayola, $blue_munsell, $blue_ncs, $blue_pantone and $blue_cmyk). Others are duplicate colours with varying names that were just kinda there for some reason ($congoPink and $coralPink)

SOURCE: https://en.wikipedia.org/wiki/Lists_of_colors

xkcd Color Survey — _xkcd

A 2010 survey of xkcd readers asking them to select and name colours. Apparently something like 5 million colours were given named by 222,500 people, but this is whittled down to only 954 of the most common colours.

Some of the colour names are vulgar, some are gross, and some are both. Some names have typos, and there's even duplicates with slightly different spelling (fuschia and ochre are good examples).

Entries that are almost the same with the only difference being the lack or addition of a space (e.g. 'dark blue' vs 'darkblue', 'bubblegum pink' vs 'bubble gum pink') will be marked with an underscore at the end of the version with a space and will still adhere to the normal camel case rules as well (for the ones used as an example earlier, they're $darkBlue_ and $darkblue, $bubblegumPink and $bubbleGumPink_)

SOURCE: https://blog.xkcd.com/2010/05/03/color-survey-results/