@ansi-art/color

3.0.0-alpha3 • Public • Published

@ansi-art/color

Color and color space handling for ansi colors in terminal output.

Color

This handles representation and conversion for a single color value

AsciiArtColor

Context

This handles and optimizes access to a color space for a specific usage context

AsciiArtColorContext

Distance

This is a function that defines how distance between colors is measured

AsciiArtColorDistance

Medium

This represents a variety of output mediums that have different color profiles. Currently supports vga, darwin and xterm.

AsciiArtColorMedium

Palette

This handles conversions of a true color value to something in a colorspace using a particular color perception (distance function).

AsciiArtColorPalette

Space

This handles the available color space.

AsciiArtColorSpace

Testing

just run npm run test or npm run container-test

Contribution

Please PR contributions against develop with jsdoc and mocha tests for the new functionality in place for both commonjs and module suites.

The project uses Conventional Commits and the Fork + PR development model.

All activities in the project are available as npm actions.

Enjoy,

Abbey Hawk Sparrow

/@ansi-art/color/

    Package Sidebar

    Install

    npm i @ansi-art/color

    Weekly Downloads

    0

    Version

    3.0.0-alpha3

    License

    none

    Unpacked Size

    68.1 kB

    Total Files

    35

    Last publish

    Collaborators

    • khrome