pub struct Palette { /* private fields */ }
Panics if list.is_empty().
list.is_empty()
Number of colours in this palette.