From f30c3185d48368b55cd412ce8fb452a550d29c96 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Tue, 12 Jul 2022 14:18:29 -0400 Subject: [PATCH] add export --- src/ColorEncoder.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ColorEncoder.js b/src/ColorEncoder.js index 3eaf785..7508c28 100644 --- a/src/ColorEncoder.js +++ b/src/ColorEncoder.js @@ -72,8 +72,6 @@ function getTimeColor(currentDate = new Date()) { if (l > 0.5) l = 0.5; if (s > 1) s = 1; - console.log(h, s, l); - // convert to rgb let [r, g, b] = hslToRgb(h, s, l); @@ -84,5 +82,6 @@ function getTimeColor(currentDate = new Date()) { module.exports = { hashCode, intToRGB, - getTimeColor + getTimeColor, + hslToRgb }