Command/MPcolor
< Command
Jump to navigation
Jump to search
Contents
\MPcolor
Summary
The command \MPcolor is used in MetaPost for getting a color defined in TeX.
Settings
Description
Examples
Fill a disk with a color defined in ConTeXt
\definecolor[disc-color][r=0.5,g=0.5,b=1] \startMPpage fill fullcircle scaled 1cm withcolor \MPcolor{disc-color}; \stopMPpage
Notes
See also
- colo-ini.mkiv
- Color Section ‘Using colors in MetaPost’
- Color_in_MetaPost Section ‘Using colors defined in TeX’