Template:Color

From Alex's Caves Wiki
Jump to navigation Jump to search


 #000

[view | edit | history | purge]Documentation

Used to display colors. Can be in any format supported by CSS (hexadecimal, rgb(a), hsl(a), keyword).

Examples

{{color|#123456}}:
 #123456

{{color|rgb(241, 042, 176)}}:
 rgb(241, 042, 176)

{{color|hsl(45, 100%, 50%)}}:
 hsl(45, 100%, 50%)

{{color|peachpuff}}:
 peachpuff

{{color|cyan|custom text}}:
 custom text

TemplateData

Used to display colors.

Template parameters

ParameterDescriptionTypeStatus
Color value1

Technical information describing the color.

Suggested values
rgb(255, 0, 0) #ff0000 #f00 rgba(255, 0, 0, 255) red hsl(0, 100%, 50%)
Unknownrequired
Text2

Custom text to show instead of the color value.

Example
Fire Engine Red
Contentoptional
[view | edit | history | purge]The above documentation is transcluded from Template:Color/doc.