Template:Swatch

 This template makes an rgb color swatch, as css colors. On Windows these will appear as sRGB. They will not look correct on a Mac.

It takes 3 positional arguments, hex rgb color and an optional text color (default black), and an optional title/content string, b = border

Sample usage
 