From 8013113c98d8e962538613e49dce82f64eb15fca Mon Sep 17 00:00:00 2001 From: noe Date: Thu, 2 May 2024 21:10:44 -0400 Subject: [PATCH] fix hex output --- -~-/what the fuck is a lightrunner/-~-/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/-~-/what the fuck is a lightrunner/-~-/index.html b/-~-/what the fuck is a lightrunner/-~-/index.html index 778d293..90da7f0 100644 --- a/-~-/what the fuck is a lightrunner/-~-/index.html +++ b/-~-/what the fuck is a lightrunner/-~-/index.html @@ -66,7 +66,7 @@ colorBoxEl.setAttribute("style", `--color: rgb(${r}, ${g}, ${b})`); hexEl.innerHTML = `#${( r.toString(16).padStart(2, "0") + - b.toString(16).padStart(2, "0") + + g.toString(16).padStart(2, "0") + b.toString(16).padStart(2, "0") ).toLowerCase()}`; rgbEl.innerHTML = `rgb(${r}, ${g}, ${b})`;