Registry / utility / css-color

css-color

JSON →
library0.2.8rscratesunverified

Rust library for parsing and manipulating CSS color strings.

# Cargo.toml [dependencies] css-color = "0.2.8"
INSTALL
IMPORT
SIG · CSS-COLOR
C
css-color
utilityrustv0.2.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CssColor
use css_color::CssColor;

Parses a hex color string into a CssColor value.

use css_color::CssColor; fn main() { let color: CssColor = "#ff6600".parse().unwrap(); println!("Parsed color: {:?}", color); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.8latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources