Skip to content

color-convert (npm)

Plain color conversion functions in JavaScript

Advisories
3
Latest version
3.1.3
Released Nov 14, 2025
License
MIT
OpenSSF Scorecard
3.3 / 10

How to fix

Upgrading to 3.1.2 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install color-convert@3.1.3
yarn
yarn add color-convert@3.1.3
pnpm
pnpm add color-convert@3.1.3

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-pxx3-g568-hxr4
color-convert@3.1.1 contains malware after npm account takeover
High
EPSS 0.43%
>= 3.1.1, < 3.1.2
3.1.2
GHSA-pxx3-g568-hxr4
color-convert@3.1.1 contains malware after npm account takeover
High
EPSS 0.43%
No fix yet
GHSA-pxx3-g568-hxr4
color-convert@3.1.1 contains malware after npm account takeover
High
EPSS 0.43%
No fix yet

Source: git+https://github.com/Qix-/color-convert.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor