pub trait Palette {
    const COLORS: &'static [(u8, u8, u8)];

    fn pick(idx: usize) -> PaletteColor<Self> { ... }
}
Expand description

Represents a color palette

Required Associated Constants

Array of colors

Provided Methods

Returns a color from the palette

Implementors