Registry / utility / rgb
library0.8.52rscratesunverified

Provides `RGB`/`RGBA` pixel types for sharing pixels between crates with convenience methods for color manipulation and no-copy interoperability.

# Cargo.toml [dependencies] rgb = "0.8.52"
INSTALL
IMPORT
SIG · RGB
R
rgb
utilityrustv0.8.52
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.

RGB
use rgb::RGB;

Creates a red RGB pixel and prints it.

use rgb::RGB; fn main() { let pixel = RGB { r: 255u8, g: 0, b: 0 }; println!("{:?}", pixel); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.52latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rgb — cargo add rgb · libregistry