Difference between revisions of "Command/colorcomponents"

From Wiki
Jump to navigation Jump to search
Line 20: Line 20:
  
 
\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]
 
\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]
\showcolorcomponents [welloy]
+
\showcolorcomponents [wolley]
  
 
\blank
 
\blank

Revision as of 10:11, 8 May 2024


\colorcomponents

Summary

The command is used to obtain the specification of a color.


Settings

\colorcomponents{...}
{...}color

Description

Examples

Example 1

\showcolorcomponents [yellow]

\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]
\showcolorcomponents [wolley]

\blank
\setupbodyfont[palatino,30pt]
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow}
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=wolley]{wolley}

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: