Difference between revisions of "Command/definespotcolor"

From Wiki
Jump to navigation Jump to search
m (→‎Description: link definecolor)
Line 5: Line 5:
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 15:15, 6 October 2019



anumber none normal multiply screen overlay softlight hardlight colordodge colorburn darken lighten difference exclusion hue saturation color luminosity

[...] text
[...] text
[...] text


Spot colours can be defined using three arguments instead of two arguments, like \definecolor. The first argument is the colour to define. The second argument is the colour to be use as a base. And the third argument takes the same options as \definecolor.

Example 1


% define the spot color for the plotter

% here is the outline feature

\definedfont[Serif at 50pt]

Magic Outline


Example 2

    \definecolor     [ColourSecondary]             [h=9A957A]
    \definecolor     [ColourSecondaryLighter]      [h=9A957A, a=1, t=.5]
    \definecolor     [ColourSecondaryLightest]     [h=9A957A, a=1, t=.3]
    \definespotcolor [ColourSecondaryLighterSpot]  [ColourSecondary]     [a=1, t=.5]
    \definespotcolor [ColourSecondaryLightestSpot] [ColourSecondary]     [a=1, t=.3]

    \setupblackrules [height=1cm, width=5cm]



    %% defined using \definecolor

    %% defined using \definespotcolor


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: