//! Image crate integration.
//!
//! Provides [`From<Color>`](crate::Color) for [`image::Rgb<u8>`].
//!
//! # Enable
//!
//! ```toml
//! [dependencies]
//! chromata = { version = "1", features = ["image-integration"] }
//! ```
//!
//! # Example
//!
//! ```rust,ignore
//! use chromata::popular::gruvbox;
//!
//! let theme = gruvbox::DARK_HARD;
//! let pixel: image::Rgb<u8> = theme.bg.into();
//! ```
use crateColor;
/// Convert a chromata Color to an image Rgb pixel.