Constructs a dsdl2.Palette from an array of dsdl2.Colors
an array/slice of dsdl2.Colors to put in the dsdl2.Palette
dsdl2.SDLException if allocation failed
See Implementation
Constructs a dsdl2.Palette from an array of dsdl2.Colors