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-plusgenerator-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@hazyflame/vue-jitsi-meet@oleg-ch/webpack-manifest-pwa@oriduk/ckeditor5-rebuild-musicanote@oriduk/ckeditor5-rebuild-oriduk@hproinformatica/functions@humanity.cash/types@helpscout/alfred-colorway@img-arena/img-ui-mui-theme@img-arena/ui-core@ikon-x/ckeditor5-custom-build-for-irrosoft@percent/percent-api-hooks@pietrop/digital-paper-edit-client@pietrop/digital-paper-edit-storybookget-contrast@superficial-ui/components@superficial-ui/core@superficial-ui/utils@tabasoft/editor-common-diffable@tbminiapp/pixi-utilseasyplayer-myexcellentexpand-to-hex-colorfhir2filter-web-colorsflowable-bpmn-modeler@biotope/build@carhoo/widget-dealers@bezael-challenge/innoit-date-format@bbc/digital-paper-edit-client@bbc/digital-paper-edit-react-components@bbc/digital-paper-edit-storybookcarousel-reactcolor_name_convertercolorcolorckeditor-5-imi-1ckeditor5-build-custom-strapiclosest-css-colorckeditor5-custom-build-for-irrosoftcolors-from-stringckeditor5-strapi-msgckeditor5-custom-ksckeditor5-custom-symmetreckeditor5-custom-build-megampireckeditor5-build-yektackeditor5-click-virtualckeditor5-build-classic-ticketckeditor5-build-classic-v-editcolormincourse-vue-tplconvert-css-color-name-to-hexculor
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