summaryrefslogtreecommitdiff
path: root/client/lib/color.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/color.js')
-rw-r--r--client/lib/color.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/color.js b/client/lib/color.js
index bea0330..bbc137e 100644
--- a/client/lib/color.js
+++ b/client/lib/color.js
@@ -62,7 +62,7 @@ function color(t, add, mul) {
b = palette[1][i];
c = palette[2][i];
d = palette[3][i];
- rgb[i] = Math.round(channel(t, a, b, c, d, add, mul) * 255);
+ rgb[i] = Math.round(channel(-t, a, b, c, d, add, mul) * 255);
}
return "rgb(" + rgb + ")";
}