Difference between revisions of "Command/comparecolorgroup"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \comparecolorgroup")
 
Line 13: Line 13:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description>The command <tt>\comparecolorgroup</tt> produces a graphic that shows the colors in a defined group in relation to each other, as well as a greyscale rendering.  
+
<cd:description>The command <tt>\comparecolorgroup</tt> produces a graphic that shows the colors in a defined group in relation to each other, as well as a greyscale rendering.
  
 
Colorgroups are somewhat obsolete, using colorpalets directly makes more sense nowadays.
 
Colorgroups are somewhat obsolete, using colorpalets directly makes more sense nowadays.
Line 28: Line 28:
 
<cd:commandref name="definecolorgroup"></cd:commandref>
 
<cd:commandref name="definecolorgroup"></cd:commandref>
 
<cd:commandref name="showcolorgroup"></cd:commandref>
 
<cd:commandref name="showcolorgroup"></cd:commandref>
<cd:commandref name="definepalet"></cd:commandref></cd:seealso>
+
<cd:commandref name="definepalet"></cd:commandref>
 +
<cd:commandref name="showpalet"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Revision as of 15:49, 8 November 2021


\comparecolorgroup

Summary

The command \comparecolorgroup is to show the colors in a defined color group

Settings

\comparecolorgroup[...]
[...]name

OptionExplanation
name a predefined colorgroup name

Description

The command \comparecolorgroup produces a graphic that shows the colors in a defined group in relation to each other, as well as a greyscale rendering.

Colorgroups are somewhat obsolete, using colorpalets directly makes more sense nowadays.

Examples

Example 1

\usecolors[dem] % predefined demo values of colorgroups and colorpalets

\comparecolorgroup [blue]

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: