From 8baacc64e39c42b39bbf3e9efad29bbdb1524f8a Mon Sep 17 00:00:00 2001 From: Determinant Date: Sat, 27 Dec 2014 14:25:03 +0800 Subject: use lighter colors --- assets/js/monitor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/js/monitor.js b/assets/js/monitor.js index a92f753..2d46355 100644 --- a/assets/js/monitor.js +++ b/assets/js/monitor.js @@ -57,9 +57,9 @@ function random_range(min, max) { } function random_color() { - var r = (random_range(0, 200) + 100) / 2; - var g = (random_range(0, 200) + 100) / 2; - var b = (random_range(0, 200) + 100) / 2; + var r = (random_range(0, 200) + 150) / 2; + var g = (random_range(0, 200) + 150) / 2; + var b = (random_range(0, 200) + 150) / 2; return "#" + hex(r) + hex(g) + hex(b); } -- cgit v1.2.3-70-g09d2