Open main menu
Wiki
Search
Changes
← Older edit
Newer edit →
Color
(view source)
Revision as of 15:04, 7 October 2019
67 bytes added
,
15:04, 7 October 2019
m
→Defining New Colors
:
bit of visual cleanup
{| class="wikitable"
! Name !!
Sytanx
Syntax
(and Example) !! Explanation
|-
| style="width:20%;"
| RGB color model
| style="width:40%;"
| <texcode>\definecolor[...][r=..., g=..., b=...]</texcode>
For example,
<texcode>\definecolor[lime][r=0.75, g=1, b=0]
For example
{|
! width="45%"
|
! width="10%"|
!
width="45%"
|
|<texcode>\usecolors[xwi]
\definecolor[highlight][yellow]
\defineframed
[important]
[location=low, frame=off,
background=color, backgroundcolor=highlight]
This is a \important{important}word.
This is a \important{important}word.
</texcode>
| width="10%"
|
| width="45%"
|<context mode=mkiv>\usecolors[xwi]
\definecolor[highlight][yellow]
\defineframed[important][location=low, frame=off,
background=color, backgroundcolor=highlight]
This is a \important{important}word.
Taco
Bureaucrats
,
Interface administrators
,
Administrators
3,899
edits