Difference between revisions of "Command/comparecolorgroup"

From Wiki
Jump to navigation Jump to search
 
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>Show a matrix of every colorgroup color on top of every other colorgroup color, in rgb color as well as using greyscale reduction.
  
Colorgroups are somewhat obsolete, using colorpalets directly makes more sense nowadays.
+
Colorgroups are somewhat obsolete, using color palettes directly makes more sense nowadays.
 
</cd:description>
 
</cd:description>
 
<cd:examples><cd:example title=""><context source="yes">
 
<cd:examples><cd:example title=""><context source="yes">
\usecolors[dem] % predefined demo values of colorgroups and colorpalets
+
\usecolors[dem] % load demo colorgroup definitions
  
 
\comparecolorgroup [blue]
 
\comparecolorgroup [blue]
Line 29: Line 29:
 
<cd:commandref name="showcolorgroup"></cd:commandref>
 
<cd:commandref name="showcolorgroup"></cd:commandref>
 
<cd:commandref name="definepalet"></cd:commandref>
 
<cd:commandref name="definepalet"></cd:commandref>
<cd:commandref name="showpalet"></cd:commandref></cd:seealso>
+
<cd:commandref name="showpalet"></cd:commandref>
 +
<cd:wikipage page="Color"></cd:wikipage></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 15:56, 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

Show a matrix of every colorgroup color on top of every other colorgroup color, in rgb color as well as using greyscale reduction.

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

Examples

Example 1

\usecolors[dem] % load demo colorgroup definitions

\comparecolorgroup [blue]

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: