JSPM

wColor256

0.3.231
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 304
  • Score
    100M100P100Q86810F
  • License MIT

Collection of cross-platform routines to operate colors conveniently. Extends basic implementation Color by additional color names. Color provides functions to convert color from one color space to another color space, from name to color and from color to the closest name of a color. The module does not introduce any specific storage format of color what is a benefit. Color has a short list of the most common colors. Use the module for formatted colorful output or other sophisticated operations with colors.

Package Exports

  • wColor256

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wColor256) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

module::Color256 status stable

Collection of cross-platform routines to operate colors conveniently. Extends basic implementation Color by additional color names. Color provides functions to convert color from one color space to another color space, from name to color and from color to the closest name of a color. The module does not introduce any specific storage format of color what is a benefit. Color has a short list of the most common colors. Use the module for formatted colorful output or other sophisticated operations with colors.

Try out from the repository

git clone https://github.com/Wandalen/wColor256
cd wColor256
npm install
node sample/Sample.s

To add to your project

npm add 'wColor256@alpha'