@@ -22,7 +22,7 @@
number: 10,
useCluster: true,
clusterSettings: {
- sortMetric: "lightness",
+ sortMetric: "chroma",
scaleOption: "direct",
sortOrder: "max",
},
@@ -69,7 +69,7 @@
document.getElementById("sort-metric").firstChild.nextSibling.nextSibling.nextSibling.nextSibling.selected = true;
document.getElementById("cluster-sort-metric").lastChild.previousSibling.previousSibling.selected = true;
- onColorChanged(state, "#222222");
+ onRandomColor(state);
}
</script>
</head>