From 5bedb1a547dbd70240d8a59ec4a84e57517d4918 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 15 Jul 2023 15:08:55 +0200 Subject: Lotsa stuff. --- tools/color.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/color.js') diff --git a/tools/color.js b/tools/color.js index d645df7..82b9db7 100644 --- a/tools/color.js +++ b/tools/color.js @@ -41,8 +41,8 @@ function rgb_to_hsl(rgb, add=0, scale=1) { function foo(sel, rgb) { let bg = rgb_to_hsl(rgb, 0.00, 1.00) - let hi = rgb_to_hsl(rgb, 0.10, 1.00) - let sh = rgb_to_hsl(rgb, -0.10, 1.00) + let hi = rgb_to_hsl(rgb, 0.15, 1.00) + let sh = rgb_to_hsl(rgb, -0.15, 1.00) let bd = rgb_to_hsl(rgb, 0.00, 0.33) console.log(sel + ` { background-color: ${bg}; border-color: ${hi} ${sh} ${sh} ${hi}; box-shadow: 0 0 0 1px ${bd}, 0px 1px 4px #0008; }`) } -- cgit v1.2.3