Template:Colorsample
Jump to navigation
Jump to search
Usage
{{Colorsample|COLOR}} or {{Colorsample|COLOR|text=TEXT|border=BORDER}}
All the named parameters are optional.
COLOR can be any CSS specification for a color.
Default values:
- border: 1px solid black
- text:
Examples
{{Colorsample|RED}} produces
{{Colorsample|#00FF00|text=foreground}} produces foreground
{{Colorsample|{{rgb|bronze}}}} produces
Source
http://qed.princeton.edu/main/Template:Colorsample