1.0.1 • Published 6 years ago

css-color-names v1.0.1

Weekly downloads
8,128,761
License
MIT
Repository
github
Last release
6 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@cocalc/frontend@ctfdio/picocss-themes@ct-note/table@cumulusds/badge-up@rpl/badge-up@percent/percent-api-hooksgenerator-bootstrap-boilerplate-templateis-css-color-nameis-css3-colorjesusdemois-colorkafirchain-tetrispolish-use-color-variablesstyledbuttonxxstylelint-vars-checkstylelint-vars-check-lessstylelint-beestylelint-plugin-colorstock-ticker-react-widgettingzi-vuepresstripetto-collector-fabric@artiso-solutions/vue-html-to-paper@atlaskit/editor-jira@atlaskit/adf-schema@alta-ng-timeago/hiamtanh-alta@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-dealers@devorso/dcountdown@darwishdev/dash-dev@contagt/metismenuwebpack-pwa-manifestwebpack-pwa-manifest-contribwebpack-pwa-manifest-li.dai-forkverify-img-codevformlmq@gzaripov/webpack-pwa-manifest@greminder/bootstrap-material-design@hazyflame/vue-jitsi-meet@hproinformatica/functions@helpscout/alfred-colorway@humanity.cash/types@graines-digitales/nice-handsome-button@kristoffertonning/vue-laravel-errors@leiyulf/gantt-task-react@itper/css-shorthand-expand@meysam213/react-leaflet@ngxvoice/ngx-voicelistner@fantasticmrdavid/webpack-pwa-manifest@f-fjs/webpack-pwa-manifest@kalamazoo/editor-common@knkui/docs@kommunicate/kommunicate-chatbot-plugin@ikon-x/ckeditor5-custom-build-for-irrosoft@img-arena/img-ui-mui-theme@img-arena/ui-core@junvary/quasar-ui-qcascader@kalamazoo/adf-schema@oleg-ch/webpack-manifest-pwa@sak1sham/react-toc-highlight@sbaldwin24/stylelint-config@refactorpro/pixi-virtual-joystick@pietrop/digital-paper-edit-client@pietrop/digital-paper-edit-storybook@oriduk/ckeditor5-rebuild-oriduk@oriduk/ckeditor5-rebuild-musicanote@southcn/ckeditor5-build-inline@senx/discovery-widgets@stansaal/ckeditor5-custom-buildmggauharmicrosoft-adaptivecards-scss-to-jsonp147-tablep148-tablesearch-list-reactsearch-input-reactsass-varsreact-lightbox-pack-18support
1.0.1

6 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

12 years ago