Install
colors
get colors in your node.js console
1.4.0Latest, 22 Sep 2019
128MDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
5.2KStars
2.2/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Infinite Loop in colors.js CVE-2021-23567 | No fix listed | 21 Jan 2022 |
| High | Infinite loop causing Denial of Service in colors GHSA-5rqg-jm4f-cqx7 | No fix listed | 10 Jan 2022 |
In the news
- Terminal colors made my grep output 4.5x more expensive for an LLM to read dev.to, 3 Dec 2026
- How Minecraft Java 26.2 Computes Locator Bar Colors from Player UUIDs (JS & Python) dev.to, 2 Dec 2026
- What the Three Colors in GVR Sync Results Actually Tell You dev.to, 24 Nov 2026
- How to Pick Colors From Any Image and Turn Them Into a Palette on Uicolorblocks.com dev.to, 21 Nov 2026
- Termhint: autocomplete, prompts, colors and runtimes for every Mac terminal dev.to, 17 Nov 2026
On Hacker News
- Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps 924 points, 1063 comments, 9 Jan 2022
- What are OKLCH colors? 859 points, 183 comments, 25 Aug 2025
- Hexwords: Hex colors that are similar to words 792 points, 164 comments, 8 Jun 2022
- Show HN: A color picker for named web colors 731 points, 169 comments, 21 Nov 2022
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.