It's better when it's simple

User Tools

Site Tools


This is an old revision of the document!

color Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes

plugin Opportunity to write colored text in DokuWiki

Last updated on

Similar to emphasis, fontcolor, wrap

Tagged with color, highlight, text, typography


Please use the extension manager to install the plugin, no configuration needed.


Place this code sample in your playground:

<color green>text</color>
<color blue/lightgrey>text</color>
<color #FF0000>text</color>
<color /#FFff00>text</color>
<color rgb(80%,0%,0%)/rgb(100%,80%,100%)>text</color>
<color hsl(120,100%,30%)/hsl(180,50%,90%)>text</color>

and you will see:

Color plugin in action

… and two more samples – the new maintainer of the plugin does not have the authority to upload a new image, so the old one will have to do for the time being.

This plugin supports the X11 color names, hex triples (like #123 or #123456 for rgb), hex quadruples (#1234 or #12345678 for rgba), rgb, rgba, hsl, and hsla color specifications. This plugin does not try hard to catch syntax errors in your color specifications, however. If you use these specifications wrong, you may simply notice that they won't work. Beware that not all color specifications work on all browsers. Check Can I Use if in doubt.


This source for this plugin is shown in the Sample Plugin Tutorial.


Christopher Smith seems leaved the plugin unmaintained. Another user leeyc0 provided hosting of the plugin in the github, but have no time to maintain it. Anyone interested in maintaining may leave a ticket in github and leeyc0 will be glad to hand over the project.

Update History

  • 2016-06-25 Added ODT support based on branch “redesign”
  • 2014-01-04 hosted in github by leeyc0
  • 2008-02-06 — Fixed a security vulnerability in the colour pattern. Any users of this plugin should apply this update. — Christopher Smith 2008-02-06 17:20
plugin/color.1539368199.txt.gz · Last modified: 2018-10-12 20:16 by hanche