Decision Workspace
nearest-color vs use-color vs hex_color
Side-by-side comparison of Rust crates
45
nearest-color
experimentalv0.1.0
Find the nearest color from a palette by RGB distance, for hex / rgb() / named CSS colors. A faithful port of the nearest-color npm package. Zero dependencies.
46
use-color
experimentalv0.1.0
Composable primitive color utilities for Rust.
55
hex_color
growingv3.0.0
A simple, lightweight library for working with RGB(A) hexadecimal colors.
Core Metrics
| nearest-color | use-color | hex_color | |
|---|---|---|---|
| Health Score | 45 | 46 | 55 |
| Total Downloads | 22 | 129 | 742.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4 | 274 |
| Releases | 1 | 1 | 4 |
| Last Updated | 108d ago | 150d ago | 1039d ago |
| Age | 3m | 5m | 5y 3m |
Health Breakdown
nearest-color
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
15
use-color
Maintenance
6
Quality
15
Community
7
Popularity
3
Documentation
15
hex_color
Maintenance
4
Quality
21
Community
13
Popularity
7
Documentation
10
Technical Details
| nearest-color | use-color | hex_color | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 6 |
| Crate Size | 12KB | 2KB | 20KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.81 | 1.95.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hex_color leads with a health score of 55/100, but none of the options score above 80.
- •hex_color is depended on by 274 crates — strongest ecosystem trust.
- •⚠ hex_color has not been updated in over a year.
- •nearest-color, use-color are pre-1.0 — API may change.