Search results

1000+ packages found

APCA: the Accessible Perceptual Contrast Algorithm, a modern contrast method that improves readability contrast on self-illuminated displays. Developed for the W3C's WCAG 3 and other standards.

published version 0.1.9, 2 years ago15 dependents licensed under $Limited W3 License
44,126

PostCSS plugin to change text color depending on background color contrast

published version 0.0.4, 9 years ago1 dependents licensed under $MIT
235

Random color is a simple javascript module for generating random colors that contrast enough to distinguish between one another, and are not too loud (by default, all colours can have readable black/dark font overlayed).

published version 2.0.2, 5 years ago7 dependents licensed under $MIT
11,693

A Bridge for WCAG_2 contrast using APCA (Advanced Perceptual Contrast Algorithm), technology.

published version 0.1.6, 3 years ago0 dependents licensed under $W3 License
39

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9364 dependents licensed under $MIT
917,946,210

Terminal string styling done right

published version 5.3.0, a year ago119972 dependents licensed under $MIT
1,378,322,653

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 2 years ago3706 dependents licensed under $MIT
1,558,591,728

Detect whether a terminal supports color

published version 9.4.0, a year ago4245 dependents licensed under $MIT
1,406,063,606

Regular expression for matching ANSI escape codes

published version 6.1.0, 3 months ago3238 dependents licensed under $MIT
861,154,258

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6148 dependents licensed under $MIT
630,083,256

Plain color conversion functions

published version 2.0.1, 5 years ago3664 dependents licensed under $MIT
903,247,858

Slice a string with ANSI escape codes

published version 7.1.0, a year ago991 dependents licensed under $MIT
228,359,082

Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).

published version 4.1.3, 3 years ago2503 dependents licensed under $MIT
141,613,167

Color conversion and manipulation with CSS string support

published version 4.2.3, 3 years ago4350 dependents licensed under $MIT
90,820,948

Color your terminal using CSS/hex color codes

published version 2.0.0, 5 years ago29 dependents licensed under $MIT
39,717,185

Check if a string has ANSI escape codes

published version 6.0.0, 5 months ago491 dependents licensed under $MIT
64,868,103

A simple set of utility functions for colours.

published version 3.0.0, 7 years ago49 dependents licensed under $ISC
35,300

Parser and generator for CSS color strings

published version 1.9.1, 3 years ago443 dependents licensed under $MIT
82,673,923

A lightweight toolset for writing styles in Javascript.

published version 4.3.1, 10 months ago5194 dependents licensed under $MIT
29,954,659

The color gray, in ansi.

published version 0.1.1, 10 years ago187 dependents licensed under $MIT
8,919,106