It's better when it's simple

User Tools

Site Tools


colorswatch Plugin

Compatible with DokuWiki


plugin Display a color swatch of the given color

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with color, color_palette, color_scheme, colour, colour_palette, colour_scheme, syntax


Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.


<colorswatch #FFFF00>

displays a color swatch for #FFFF00. Additionally, you can provide a name for the color like

<colorswatch #FFFF00:some yellow>

This plugin only works with hexadecimal color codes (the ones starting with #). Functions like rgb() or hsla() or keywords like lightgrey or fuchsia are not supported.

Configuration and Settings

In the plugin's settings, you can choose between small, middle sized and large color swatches. That setting is global for the whole wiki. Changes get applied the next time you save the wiki page where you used the <colorswatch> tag.

Change Log

Known Bugs and Issues

None as of now

ToDo/Wish List

None as of now


None as of now


plugin/colorswatch.txt · Last modified: 2023-04-21 22:46 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki