From de0010eb72240da28f4cebd8aa1830b4bad1f6f1 Mon Sep 17 00:00:00 2001 From: Alexis Svinartchouk Date: Thu, 10 Dec 2020 17:18:54 +0100 Subject: [PATCH] Update rgb leds colors Change-type: patch --- lib/gui/app/models/leds.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/gui/app/models/leds.ts b/lib/gui/app/models/leds.ts index 9eb25d9a..87e35469 100644 --- a/lib/gui/app/models/leds.ts +++ b/lib/gui/app/models/leds.ts @@ -27,12 +27,12 @@ import { DEFAULT_STATE, observe } from './store'; const leds: Map = new Map(); const animator = new Animator([], 10); -const red: Color = [1, 0, 0]; -const green: Color = [0, 1, 0]; -const blue: Color = [0, 0, 1]; -const white: Color = [1, 1, 1]; +const red: Color = [0.59, 0, 0]; +const green: Color = [0, 0.59, 0]; +const blue: Color = [0, 0, 0.59]; +const white: Color = [0.04, 0.04, 0.04]; const black: Color = [0, 0, 0]; -const purple: Color = [0.5, 0, 0.5]; +const purple: Color = [0.117, 0, 0.196]; function createAnimationFunction( intensityFunction: (t: number) => number,