🌜
🌞

Best JavaScript Color Libraries

color

color

v4.2.3

Color conversion and manipulation with CSS string support

Last Commit
Apr 21, 2022
GitHub Stargazers
4,396
License
MIT
Contributors
35
color-convert

color-convert

v2.0.1

Plain color conversion functions

Last Commit
Jul 8, 2022
GitHub Stargazers
637
License
MIT
Contributors
25
chalk

chalk

v5.0.1

Terminal string styling done right

Last Commit
Sep 25, 2022
GitHub Stargazers
19.2K
License
MIT
Contributors
52
supports-color

supports-color

v9.2.2

Detect whether a terminal supports color

Last Commit
Sep 7, 2022
GitHub Stargazers
308
License
MIT
Contributors
30
color-name

color-name

v1.1.4

A list of color names and its values

Last Commit
Sep 21, 2018
GitHub Stargazers
81
License
MIT
Contributors
6
colorette

colorette

v2.0.19

🌈Easily set your terminal text color & styles.

Last Commit
Sep 25, 2022
GitHub Stargazers
1,455
License
MIT
Contributors
13
polished

polished

v4.2.2

A lightweight toolset for writing styles in Javascript.

Last Commit
Jul 22, 2022
GitHub Stargazers
7,354
License
MIT
Contributors
70
colord

colord

v2.9.2

👑 A tiny yet powerful tool for high-performance color manipulations and conversions

Last Commit
Aug 10, 2022
GitHub Stargazers
1,030
License
MIT
Contributors
8
react-colorful

react-colorful

v5.5.1

🎨 A tiny (2,8 KB) color picker component for React and Preact apps. Fast, well-tested, dependency-free, mobile-friendly and accessible

Last Commit
Aug 18, 2022
GitHub Stargazers
2,271
License
MIT
Contributors
10
color-support

color-support

v1.1.3

A module which will endeavor to guess your terminal's level of color support.

Last Commit
Oct 18, 2018
GitHub Stargazers
22
License
ISC
Contributors
1
d3-color

d3-color

v3.1.0

Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).

Last Commit
May 19, 2022
GitHub Stargazers
349
License
ISC
Contributors
11
ansi-colors

ansi-colors

v4.1.3

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).

Last Commit
May 16, 2022
GitHub Stargazers
361
License
MIT
Contributors
9
postcss-color-rebeccapurple

postcss-color-rebeccapurple

v7.1.1

Use the rebeccapurple color keyword in CSS

Last Commit
Feb 18, 2022
GitHub Stargazers
63
License
CC0-1.0
Contributors
8
kleur

kleur

v4.1.5

The fastest Node.js library for formatting terminal text with ANSI colors~!

Last Commit
Jun 26, 2022
GitHub Stargazers
1,380
License
MIT
Contributors
14
postcss-color-functional-notation

postcss-color-functional-notation

v4.2.4

Use space and slash separated color notation in CSS

Last Commit
Dec 16, 2021
GitHub Stargazers
8
License
CC0-1.0
Contributors
4
postcss-color-hex-alpha

postcss-color-hex-alpha

v8.0.4

Use 4 & 8 character hex color notation in CSS

Last Commit
Feb 18, 2022
GitHub Stargazers
28
License
MIT
Contributors
8
css-prefers-color-scheme

css-prefers-color-scheme

v7.0.0

Use light and dark color schemes in all browsers

Last Commit
Dec 16, 2021
GitHub Stargazers
98
License
CC0-1.0
Contributors
3
color-string

color-string

v1.9.1

Parser and generator for CSS color strings

Last Commit
Apr 22, 2022
GitHub Stargazers
202
License
MIT
Contributors
17
@react-native/normalize-color

@react-native/normalize-color

v2.0.0

Color normalization for React Native.

Last Commit
Sep 30, 2022
GitHub Stargazers
105K
License
MIT
Contributors
100
cli-color

cli-color

v2.0.3

Colors, formatting and other tools for the console

Last Commit
Jul 4, 2022
GitHub Stargazers
624
License
ISC
Contributors
8
ansi-styles

ansi-styles

v6.1.0

ANSI escape codes for styling strings in the terminal

Last Commit
Sep 10, 2022
GitHub Stargazers
354
License
MIT
Contributors
15
@chakra-ui/color-mode

@chakra-ui/color-mode

v2.1.4

React component and hooks for handling light and dark mode.

Last Commit
Sep 29, 2022
GitHub Stargazers
28.9K
License
MIT
Contributors
97
picocolors

picocolors

v1.0.0

The tiniest and the fastest library for terminal output formatting with ANSI colors

Last Commit
Oct 22, 2021
GitHub Stargazers
762
License
ISC
Contributors
7
postcss-colormin

postcss-colormin

v5.3.0

Minify colors in your CSS files with PostCSS.

Last Commit
Sep 13, 2022
GitHub Stargazers
4,245
License
MIT
Contributors
88
postcss-lab-function

postcss-lab-function

v4.2.1

Use lab() and lch() color functions in CSS

Last Commit
Dec 16, 2021
GitHub Stargazers
48
License
CC0-1.0
Contributors
4