basically working color selection and palette generator