chickadee » macaw » color->hsl/new

color->rgb/new color_1procedure
color->rgb8/new color_1procedure
color->hsl/new color_1procedure

Like color->rgb etc. except it always returns a newly allocated color, even if color_1 is already the target type. Equivalent to e.g.

(if (rgb? color_1)
    (rgb-copy color_1)
    (color->rgb color_1))