make color palette from picture