Difference between revisions of "Command/colorcomponents"
< Command
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
</cd:description> | </cd:description> | ||
<cd:examples><cd:example title=""><context source="yes"> | <cd:examples><cd:example title=""><context source="yes"> | ||
+ | \showcolorcomponents [yellow] | ||
+ | |||
\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1] | \definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1] | ||
− | \showcolorcomponents [ | + | \showcolorcomponents [welloy] |
+ | \blank | ||
\setupbodyfont[palatino,30pt] | \setupbodyfont[palatino,30pt] | ||
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow} | \framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow} |
Revision as of 10:11, 8 May 2024
Contents
\colorcomponents
Summary
The command is used to obtain the specification of a color.
Settings
Description
Examples
Example 1
\showcolorcomponents [yellow] \definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1] \showcolorcomponents [welloy] \blank \setupbodyfont[palatino,30pt] \framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow} \framed[background=color,backgroundcolor=darkblue,foregroundcolor=wolley]{wolley}