fairly obvious format.
\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]
\starttext
%\showcolorcomponents [yellow]
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow}
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=wolley]{wolley}
\st
) access to the color channels of
a defined color?
\colorcomponents{red}
\colorvalue{red}
in next beta:
\startluacode
-- inspect(attributes.colors.spec(red))
Thanks Hans, very nice. Looking out for the next beta. I'll use the time
to check some other problems :-)
-- table={
-- [b]=0
?
\colorcomponents{red}
\colorvalue{red}
in next beta:
\startluacode
-- inspect(attributes.colors.spec(red))
-- table={
-- [b]=0,
-- [c]=0,
-- [model]=cmyk,
-- [g]=0,
-- [k]=0,
-- [m]=1,
-- [r]=1,
-- [s]=0.3,
-- [y]=1,
-- }
\stopluacode