Template:Horizontal Rule/doc

This template allows customizing the color of the &lt;hr&gt; tag. Its basic form uses a simple.


 * Syntax
 * The template is written as background. The background is the color name. It can be one of the following colors:
 * red
 * orange
 * yellow
 * green
 * blue
 * purple
 * pink


 * Custom gradient colors
 * You can pick a different gradient color in the following way:.
 * Make sure to use the RGB value for your color in the form of ''r,g,b . If you want to use a HEX color but don't know the equivalent RGB value, you can use this convertor. For example:
 * Results a red gradient, that looks like this:
 * Results a red gradient, that looks like this:


 * Other colors
 * You can use non-gradient colors as well using
 * On this case, the background can be a any color value (color name, HEX value, RGB value, HSLA value, etc.). For instance:
 * Results:
 * Results:


 * Sources
 * This template is based on Simple Styles for &lt;hr&gt;'s, as published on css-tricks.com.