wiki:ColorMacro

Version 12 (modified by anonymous, 15 years ago) (diff)

--

Color text

Description

ColorMacro is a very simple macro that allows you to change the background color of a piece of text. Useful for highlighting, or RAG (red, amber, green) status reports.

Usage: \ }}} or \ }}} Where:

color

\ \

Existing bugs and feature requests for ColorMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:colormacro here].

Source

You can check out ColorMacro from here using Subversion, or browse the source with Trac.

Example

Example:

  [[Color(red,This has a red background)]]
  [[Color(blue, green,This has a blue background and green text)]]
  [[Color(none,#bb0000,I'm using a hex color)]]
  [[Color(none,#bb0000,Yes, I'm Color)]]

Giving:

This has a red background