MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / getHSL

Function getHSL

scripts/web_timer_main.js:442–445  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

440}
441
442function getHSL(e, t) {
443 let r = e * (300 / (t = t || 1));
444 return "hsl(" + r + ", 100%, 50%)";
445}
446
447function splitHidden(timeString) {
448 if (!(typeof timeString === "string")) return timeString;

Callers 1

getDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected