1.0.1 • Published 5 years ago

css-color-names v1.0.1

Weekly downloads
8,128,761
License
MIT
Repository
github
Last release
5 years ago

css-color-names

A JSON Object of css color names mapped to their hex value

Usage

var csscolors = require('css-color-names');
console.dir(csscolors);

yields

{
  "aqua": "#00ffff",
  "aliceblue": "#f0f8ff",
  "antiquewhite": "#faebd7",
  "black": "#000000",
  "blue": "#0000ff",
  ...
}

How was this list generated?

In the Makefile you'll see a line like this:

./getcolors.sh | ./stringify.js > $(FILE)

The first command scrapes a site for the list, and outputs the results separated by newlines. The second command creates the JSON object and outputs it to stdout, which then gets redirected into css-color-names.json

Installation

npm install css-color-names

License

MIT

is-color-stopvuedragdropuploadimagespwa-manifest-buildercloud-archive-s3iterm-tabcolortabcolorbb-chat@fundefund/funde_ckgql_din_mod@olivervorasai/slider@infinitebrahmanuniverse/nolb-css-c@everything-registry/sub-chunk-1419p149-tabledigital-paper-edit-react-clientfhir2filter-web-colorsflowable-bpmn-modelerexcellentexpand-to-hex-colorhueadmhueclihue-cliis-css-color-nameis-css3-coloris-colorhot-zone-vueeasyplayer-mygreybel-js@f-fjs/webpack-pwa-manifest@fantasticmrdavid/webpack-pwa-manifestgenerator-bootstrap-boilerplate-templateget-contrastjesusdemokafirchain-tetriskoutla-swissp147-tablep148-tablenois-react-toastnebula.cssnka-gantt-task-reactng-search-dropdownmaterializerlitepie-datepicker-gabem2m-chartjs-plugin-crosshairmarkdown-it-labelmggauharmicrosoft-adaptivecards-scss-to-jsonpolish-use-color-variablespostcss-easyspritespostcss-merge-longhand-nightlypostcss-colornames-to-hexpostcss-color-yiqpostcss-colorblindclosest-css-colorckeditor5-custom-build-for-irrosoftckeditor5-custom-ksckeditor5-click-virtualckeditor5-custom-build-megampireckeditor5-custom-symmetretestapackeditor5-build-yektackeditor-5-imi-1ckeditor5-build-custom-strapickeditor5-build-classic-ticketckeditor5-build-classic-v-editckeditor5-strapi-msgcarousel-reactconvert-css-color-name-to-hexcolorcolorstylelint-plugin-colorsynesthesiastyledbuttonxxstylelint-beestylelint-vars-checkstylelint-vars-check-lesscolors-from-stringcolormincolor_name_convertertingzi-vuepressculordarmody-webpack-pwa-manifestsequelcomponentsearch-input-reactsearch-list-reactsass-varssmc-webappsticky-scroll-catchstock-ticker-react-widgetresponsis-gantt-task-reactreact-native-no-cssreact-lightbox-pack-18supportreact-native-style-tachyonsreact-shedreact-ttycssesc-wbgcss-shorthand-expandcourse-vue-tpltripetto-collector-fabriccss-color-listcss-values
1.0.1

5 years ago

1.0.0

6 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

9 years ago

0.0.1

10 years ago

0.0.0

11 years ago