This function converts any vector of colors to a new vector where each element is unique but the elements overall are as close as possible to the original elements.

makeColorsUnique(colorVector, seed = 1)

Arguments

colorVector

a vector of colors (in a format compatable with col2rgb)

seed

random seem for reproducibility

Value

a color vector very close to the initial colorVector, but where all color values are unique