|Version 2 (modified by 9 years ago) (diff),|
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.
[[Color( background-color, color , text )]]
[[Color( color , text )]]
- is a color keyword or hex color number recognised by your browser
- any text or html you like
If you have any issues, create a new ticket.
Download the zipped source from [download:colormacro here].
[[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)]]
Giving:This has a red background This has a blue background and green text I'm using a hex color