The function ensure-color
returns a color specification for
color-spec
, in the color model of
match-color-spec
. This allows you to convert color specifications from one model to another with having to explicitly state the color model.
If color-spec has an alpha component, then result has that same alpha component.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017