= 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:
{{{
[[Color( background-color, color , text )]]
}}}
or
{{{
[[Color( color , text )]]
}}}
Where:
color::
is a color keyword or hex color number recognised by your browser
text::
your text, commas are allowed, but '(' and ')' cause a problem
== Bugs/Feature Requests ==
Existing bugs and feature requests for ColorMacro are
[report:9?COMPONENT=ColorMacro here].
If you have any issues, create a
[http://trac-hacks.org/newticket?component=ColorMacro&owner=diroussel new ticket].
== Download ==
Download the zipped source from [download:colormacro here].
== Source ==
You can check out ColorMacro from [http://trac-hacks.org/svn/colormacro here] using Subversion, or [source:colormacro 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:
{{{
#!html
This has a red background
This has a blue background and green text
I'm using a hex color
}}}
== Recent Changes ==
[[ChangeLog(colormacro, 3)]]
== Author/Contributors ==
'''Author:''' [wiki:diroussel] [[BR]]
'''Contributors:'''