Decision Workspace
use-color vs nearest-color vs hex_color
Side-by-side comparison of Rust crates
48
use-color
experimentalv0.1.0
Composable primitive color utilities for Rust.
50
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.
55
hex_color
growingv3.0.0
A simple, lightweight library for working with RGB(A) hexadecimal colors.
Core Metrics
| use-color | nearest-color | hex_color | |
|---|---|---|---|
| Health Score | 48 | 50 | 55 |
| Total Downloads | 83 | 18 | 638.2K |
| 30d Downloads | 0 | 0 | 12.5K |
| Dependents | 4 | 0 | 260 |
| Releases | 1 | 1 | 4 |
| Last Updated | 62d ago | 20d ago | 951d ago |
| Age | 2m | 20d | 5y |
Health Breakdown
use-color
Maintenance
9
Quality
15
Community
7
Popularity
2
Documentation
15
nearest-color
Maintenance
12
Quality
15
Community
6
Popularity
2
Documentation
15
hex_color
Maintenance
4
Quality
21
Community
13
Popularity
7
Documentation
10
Technical Details
| use-color | nearest-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 | 2KB | 12KB | 20KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.95.0 | 1.81 | — |
| 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 260 crates — strongest ecosystem trust.
- •⚠ hex_color has not been updated in over a year.
- •use-color, nearest-color are pre-1.0 — API may change.