Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/soybeanjs/soybean-admin
/ getHsl
Function
getHsl
packages/color/src/shared/colord.ts:21–23 ·
view source on GitHub ↗
(color: AnyColor)
Source
from the content-addressed store, hash-verified
19
}
20
21
export
function
getHsl(color: AnyColor) {
22
return
colord(color).toHsl();
23
}
24
25
export
function
getHsv(color: AnyColor) {
26
return
colord(color).toHsv();
Callers
3
getRecommendedColorPaletteFamily
Function · 0.90
getNearestColorPaletteFamily
Function · 0.90
getColorName
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected