You get a color as an rgb() string. A color with transparency is printed as rgba().
rgb()
rgba()
{{ '#7ab55c' | color_to_rgb }}
Output
rgb(122, 181, 92)