1.0.1 • Published 7 years ago

css-color-names v1.0.1

Weekly downloads
8,128,761
License
MIT
Repository
github
Last release
7 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-tablesynesthesiavue-button-test1sticky-scroll-catchtestapavue-compmentvbb-platform-patterns-clivs-tree-plus@rpl/badge-up@percent/percent-api-hooksgenerator-bootstrap-boilerplate-templateis-css-color-nameis-css3-colorjesusdemois-colorkafirchain-tetrishueadmhueclihue-clihot-zone-vuegreybel-jslitepie-datepicker-gabemarkdown-it-labelm2m-chartjs-plugin-crosshairkoutla-swissmaterializer@vue-helper/vue-keep-alive@tillschweneker/ckeditor5-build-strapi-wysiwyg-markdown@uidu/editor-common@uidu/adf-schema@the91end/react-auth@yak-spirit/yak-swap-ui@zebracompany/f_editoralpha-string-to-rgbaadf-schemaadf-schema-testap-vue-captchaappxgenbain@atlaskit/adf-schema@graines-digitales/nice-handsome-button@greminder/bootstrap-material-design@atlaskit/editor-jira@gzaripov/webpack-pwa-manifest@cocalc/frontend@contagt/metismenu@alta-ng-timeago/hiamtanh-alta@hazyflame/vue-jitsi-meetpolish-use-color-variablesstyledbuttonxxstylelint-vars-checkstylelint-vars-check-lessstylelint-beestylelint-plugin-colorstock-ticker-react-widgettingzi-vuepresstripetto-collector-fabric@bbc/digital-paper-edit-client@bbc/digital-paper-edit-react-components@bbc/digital-paper-edit-storybook@bezael-challenge/innoit-date-format@biotope/build@carhoo/widget-dealerswebpack-pwa-manifestwebpack-pwa-manifest-contribwebpack-pwa-manifest-li.dai-forkverify-img-codevformlmq@kristoffertonning/vue-laravel-errors@leiyulf/gantt-task-react@ngxvoice/ngx-voicelistner@sak1sham/react-toc-highlight@sbaldwin24/stylelint-config@refactorpro/pixi-virtual-joystick@pietrop/digital-paper-edit-client@pietrop/digital-paper-edit-storybook@senx/discovery-widgets@stansaal/ckeditor5-custom-buildmggauharmicrosoft-adaptivecards-scss-to-jsonp147-tablep148-tablesearch-list-reactsearch-input-reactsass-varsreact-lightbox-pack-18supportreact-native-no-cssreact-gantt-chart7
1.0.1

7 years ago

1.0.0

7 years ago

0.0.4

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

11 years ago

0.0.0

13 years ago