Translates a labmat to a colour palette
1 | labmatToPalette(labmat, k, lightness)
|
labmat |
a n*3 matrix signifying Lab space coordinates |
k |
how many colours |
lightness |
how light the returned palette should be |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.