|
PmWiki /
WikiStyleColors
Colour ExamplesSome color definitions above and beyond what's standard in PmWiki:
Standard PmWiki colours
Hints and Tips:
More Colours Options (external links open in new windows)
CommentsHow do admins define colors for all pages?? Define color keywords and rely on the browser to render the color values. you can use the color keywords for both text color (use %keyword%text%%) and also background color (use %bgcolor=keyword%text%%). Add to your local configuration file: $SVGColors = array ( 'aliceblue','antiquewhite','aqua','aquamarine','azure','beige','bisque','black', 'blanchedalmond','blue','blueviolet','brown','burlywood','cadetblue','chartreuse','chocolate', 'coral','cornflowerblue','cornsilk','crimson','cyan','darkblue','darkcyan','darkgoldenrod', 'darkgrey','darkgreen','darkkhaki','darkmagenta','darkolivegreen','darkorange','darkorchid','darkred', 'darksalmon','darkseagreen','darkslateblue','darkslategray','darkturquoise','darkviolet','deeppink','deepskyblue', 'dimgray','dodgerblue','firebrick','floralwhite','forestgreen','fuchsia','gainsboro','ghostwhite', 'gold','goldenrod','gray','green','greenyellow','honeydew','hotpink','indianred', 'indigo','ivory','khaki','lavender','lavenderblush','lawngreen','lemonchiffon','lightblue', 'lightcoral','lightcyan','lightgoldenrodyellow','lightgreen','lightgrey','lightpink','lightsalmon','lightseagreen', 'lightskyblue','lightslategray','lightsteelblue','lightyellow','lime','limegreen','linen','magenta', 'maroon','mediumaquamarine','mediumblue','mediumorchid','mediumpurple','mediumseagreen','mediumslateblue','mediumspringgreen', 'mediumturquoise','mediumvioletred','midnightblue','mintcream','mistyrose','moccasin','navajowhite','navy', 'oldlace','olive','olivedrab','orange','orangered','orchid','palegoldenrod','palegreen', 'paleturquoise','palevioletred','papayawhip','peachbuff','peru','pink','plum','powderblue', 'purple','red','rosybrown','royalblue','saddlebrown','salmon','sandybrown','seagreen', 'seashell','sienna','silver','skyblue','slateblue','slategray','snow','springgreen', 'steelblue','tan','teal','thistle','tomato','turquoise','violet','wheat', 'white','whitesmoke','yellow','yellowgreen' ); foreach($SVGColors as $c) $WikiStyle[$c]['color'] = $c; Alternatively define the required colors in the local configuration file. (See Custom WikiStyles for details). For example add the following line(s) to $WikiStyle['hardblue']['color']='#0000cc';
$WikiStyle['darkgreen']['color']='#006600';
$WikiStyle['bluegrass']['color']='#009999';
$WikiStyle['teal']['color']='#33ffcc';
$WikiStyle['darkpurple']['color']='#660066';
$WikiStyle['perwinkle']['color']='#6600cc';
$WikiStyle['darkgrey']['color']='#666666';
$WikiStyle['mistgreen']['color']='#669966';
$WikiStyle['slategreen']['color']='#669999';
$WikiStyle['purple']['color']='#990099';
$WikiStyle['lightpurple']['color']='#9966cc';
$WikiStyle['lightgrey']['color']='#999999';
$WikiStyle['lightblue']['color']='#99ccff';
$WikiStyle['springgreen']['color']='#99ff33';
$WikiStyle['magenta']['color']='#cc33cc';
$WikiStyle['burnttorange']['color']='#cc6633';
$WikiStyle['grey']['color']='#cccccc';
$WikiStyle['lightgreen']['color']='#ccffcc';
$WikiStyle['pink']['color']='#ff3399';
$WikiStyle['lightred']['color']='#ff6666';
$WikiStyle['orange']['color']='#ff9900';
$WikiStyle['lightorange']['color']='#ff9966';
$WikiStyle['gold']['color']='#ffbb66';
$WikiStyle['yellow']['color']='#ffff00';
<< Wiki style examples | PmWiki.Documentation Index | List styles >> |