You get a color as an hsl() string. A color with transparency is printed as hsla().
hsl()
hsla()
{{ '#7ab55c' | color_to_hsl }}
Output
hsl(100, 38%, 54%)