[][src]Module hodgepodge::colors

A module for color enums.

Every one of these enums is C-like, with the hex code for the color used as the explicit discriminator. To get that value, all you have to do is format it like a hex number:

use hodgepodge::CSS;
println!("The hex code for {:?} is #{:06x}", CSS::GhostWhite, CSS::GhostWhite)

Structs

CMYKIter
CSSIter
RGBIter
ROYGBIVIter

Enums

CMYK

CMYK colors

CSS

Color names available in CSS.

RGB

RGB colors

ROYGBIV

ROYGBIV colors, with hex codes as found here