Gathering detailed insights and metrics for color-space
Gathering detailed insights and metrics for color-space
Math & data behind color spaces and color conversions.
npm install color-space
Typescript
Module System
Node Version
NPM Version
99.9
Supply Chain
99.6
Quality
94.4
Maintenance
100
Vulnerability
99.6
License
JavaScript (98.36%)
TypeScript (1.43%)
HTML (0.21%)
Total Downloads
59,144,455
Last Day
72,200
Last Week
332,130
Last Month
1,400,366
Last Year
18,555,994
328 Stars
372 Commits
26 Forks
12 Watching
3 Branches
21 Contributors
Minified
Minified + Gzipped
Latest Version
2.3.1
Package Id
color-space@2.3.1
Unpacked Size
192.60 kB
Size
56.37 kB
File Count
91
NPM Version
10.9.2
Node Version
23.5.0
Publised On
02 Feb 2025
Cumulative downloads
Total Downloads
Last day
-4.5%
72,200
Compared to previous day
Last week
-11.2%
332,130
Compared to previous week
Last month
4.2%
1,400,366
Compared to previous month
Last year
36.1%
18,555,994
Compared to previous year
3
Open collection of color spaces.
Demo.
1import space from 'color-space'; 2 3//convert lab to lch 4var result = space.lab.lch([80,50,60]);
Spaces can be imported separately:
1import rgb from 'color-space/rgb.js'; 2import hsl from 'color-space/hsl.js'; 3 4//convert rgb to hsl 5rgb.hsl([200, 230, 100]);
1<fromSpace>.<toSpace>(array); 2<space>.name //space name 3<space>.channel //channel names 4<space>.min //channel minimums 5<space>.max //channel maximums
A complete collection of color spaces with minimal consistent and clean API, verified formulas and cases. While alternatives focus on digital color spaces, this project takes broader perspective, including historical / multidisciplinary spaces. A side effect is verifying and correcting papers.
Thanks to all who contribute to color science – researchers, scientists, color theorists, specifiers, implementors, developers, and users.
No vulnerabilities found.
Reason
12 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 2/21 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More