Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
442
function
getHSL(e, t) {
443
let
r = e * (300 / (t = t || 1));
444
return
"hsl("
+ r +
", 100%, 50%)"
;
445
}
446
447
function
splitHidden(timeString) {
448
if
(!(typeof timeString ===
"string"
))
return
timeString;
Callers
1
getData
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected