</>PackageGraphPackageGraph

rgb2hex

npmv0.2.5TypeScript

lightweight rgb/rgba to hex parser

Not recommended for new projects

No — rgb2hex should not be adopted for new projects. Last published 2095 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 2095 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 16 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding rgb2hex to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

16 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the rgb2hex README.

<script src="rgb2hex.js"></script>

rgb2hex vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
rgb2hexthis page01MIT5 years ago
color-convert299.6M1MIT14 hours ago
set-cookie-parser50.2M2MIT14 hours ago
bytes03MIT18 hours ago
@csstools/css-color-parser02MIT18 hours ago
color-string01MIT19 hours ago

Dependencies

Declared by rgb2hex v0.2.5. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

jest ^26.6.3typescript ^4.1.2

Used by

Popular packages that depend on rgb2hex.

Relationship graph

Dependencies (left) and dependents (right) of rgb2hex.

webdriveriorgb2hex
rgb2hex dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 13 days apart.

Recent versions of rgb2hex
VersionPublishedSizeLicense
0.2.5latest5 years ago16 KBMIT
0.2.45 years ago16 KBMIT
0.2.35 years ago16 KBMIT
0.2.25 years ago16 KBMIT
0.2.15 years ago16 KBMIT
0.2.06 years ago15 KBMIT
0.1.106 years ago16 KBMIT
0.1.98 years ago15 KBMIT
0.1.88 years ago15 KBMIT
0.1.78 years ago15 KBMIT
0.1.68 years ago15 KBMIT
0.1.58 years ago14 KBMIT
0.1.48 years ago14 KBMIT
0.1.38 years ago13 KBMIT
0.1.28 years ago12 KBMIT

Overview

rgb2hex is an npm package that lightweight rgb/rgba to hex parser. It has 1 known dependents in the graph. The latest version is 0.2.5, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need lightweight rgb/rgba to hex parser and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (2 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use rgb2hex?

No — rgb2hex should not be adopted for new projects. Last published 2095 days ago.

How do I install rgb2hex?

Run `npm install rgb2hex` to add rgb2hex to your npm project.

What license is rgb2hex released under?

rgb2hex is distributed under the MIT license.

How popular is rgb2hex?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on rgb2hex.

Is rgb2hex still maintained?

The most recent release of rgb2hex (v0.2.5) was published 5 years ago.

Does rgb2hex run install scripts?

No. rgb2hex does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.