Template:Color specifications table/doc

From Wikipedia, the free encyclopedia

Use[edit]

This template allows editors to automatically group the colors of a flag in different color models

Syntax[edit]

  • {{Color specification table|color1=...|html1=#...|color2=...|html2=#...}}

Parameters[edit]

  • color1 = Name of first color (required)
  • html1 = Hexidecimal code of the first color (required)
  • rgb1 = RGB code
  • pantone1 = Pantone code
  • cmyk1 = CMYK code
  • HSV1 = HSV code
  • ral1 = RAL systems code

These parameters can be coded from color1 to color8

Example[edit]

Code Output
{{Color specification table
|color1 = Black
|html1=#000000
|rgb1=0, 0, 0
|pantone1=Black

|color2 = Red
|html2=#FF0000
|rgb2= 255,0,0
|pantone2=485

|color3 = Yellow
|html3=#FFCC00
|rgb3=255,204,0
|pantone3=7405*
}}
Color Black Red Yellow
HTML #000000 #FF0000 #FFCC00
RGB 0, 0, 0 255,0,0 255,204,0
Pantone Black 485 7405*