powered by
Translates a labmat to a colour palette
labmatToPalette(labmat, k, lightness)
a n*3 matrix signifying Lab space coordinates
how many colours
how light the returned palette should be