Going back to LRGB for mixing locator colors.

This commit is contained in:
Marat Fayzullin 2023-11-03 13:01:47 -04:00
parent d179d6b085
commit eb148e7a21
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ Locator.prototype.getColor = function() {
if (!colors.length) return null;
return chroma.average(colors, 'hsl', weight).alpha(
return chroma.average(colors, 'lrgb', weight).alpha(
maxw * (0.4 + Math.min(0.5, colors.length / 15))
);
};