Made color selection not completely brain dead by sorting palette by average color
value.