Open main menu

Changes

Created page with "Documentation for \comparecolorgroup"
<cd:commandgroup name="comparecolorgroup" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\comparecolorgroup</tt> is to show the colors in a defined color group
</cd:shortdesc>
<cd:variants>
<cd:command category="colors" file="colo-run.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-color.xml" level="document" name="comparecolorgroup" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name">a predefined colorgroup name</cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</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.

Colorgroups are somewhat obsolete, using colorpalets directly makes more sense nowadays.
</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\usecolors[dem] % predefined demo values of colorgroups and colorpalets

\comparecolorgroup [blue]
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="colo-run.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Colors"></cd:wikipage>
<cd:commandref name="definecolorgroup"></cd:commandref>
<cd:commandref name="showcolorgroup"></cd:commandref>
<cd:commandref name="definepalet"></cd:commandref></cd:seealso>
</cd:commandgroup>