Skip to content
JS
Package

randomcolor

A tiny script for generating attractive random colors

v0.6.2CC0CommonJSTypes: None
$ npm install randomcolor

Key numbers

As of 25 Sept 2026
Weekly downloads
217.7k
+40% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v0.6.2
GitHub stars
6.1k
406 forks
Open issues / PRs
15 / 1
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 349.6k (18 Aug 2026)Low 101.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

217,715 downloads last week, 1,092,759 in the last month. The 12-month change of +40% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.6.2
First published
-
Last push to GitHub
3 Dec 2025295 days before the snapshot
Repository archived
No
Open issues
15
Open pull requests
1
Commits, last 52 weeks
3
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
25 kB
Dependencies (0)
None
npm install randomcolor

CDN

jsDelivr: 95.2k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/randomcolor@0.6.2/
  • unpkghttps://unpkg.com/randomcolor@0.6.2/
  • esm.shhttps://esm.sh/randomcolor@0.6.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.