From e2d233d74b6335fd53a9271a9c00c3f93828c5b5 Mon Sep 17 00:00:00 2001 From: Lorenzo Alberto Maria Ambrosi Date: Tue, 20 Jul 2021 15:15:23 +0200 Subject: [PATCH] Change LEDs colours Change-type: patch Signed-off-by: Lorenzo Alberto Maria Ambrosi --- 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 d9bce75f..4fb2feea 100644 --- a/lib/gui/app/models/leds.ts +++ b/lib/gui/app/models/leds.ts @@ -26,12 +26,12 @@ import { observe, store } from './store'; const leds: Map = new Map(); const animator = new Animator([], 10); -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 red: Color = [0.78, 0, 0]; +const green: Color = [0, 0.58, 0]; +const blue: Color = [0, 0, 0.1]; +const purple: Color = [0.7, 0, 0.78]; +const white: Color = [0.7, 0.7, 0.7]; const black: Color = [0, 0, 0]; -const purple: Color = [0.117, 0, 0.196]; function createAnimationFunction( intensityFunction: (t: number) => number,