Template:Infobox color/doc

The sRGB triplet, HSV, CIELchuv and (if enabled) CMYK coordinates are automatically calculated from the hex parameter, so they generally do not need to be specified. CMYK is hidden by default because it doesn't take color profiles into account.

Blank template
Minimal usage:



Full usage:



Parameters
The following template parameters are supported:

Color/Colour spelling
For articles standardised to British spelling, add the parameter. The word "colour" is case-insensitive.

CMYK values
There is no functionality for converting RGB to CMYK because there is no single CMYK color space. Variations in paper and ink processes account for the various combinations of non-invertible matrices and look-up tables used in converting from RGB to CMYK. If you wish to obtain CMYK values for these colors, you will get appropriate conversion values from your graphics application when you define the type of ink and paper you will be printing on.

A CMYK value is meaningful only if you can specify what ink–paper–process standard it is supposed to be used with. If your color article does not specifically concern a quirk in the CMYK process (such as rich black), it's best to leave it unspecified since it does not add additional information.

Because the CMYK data quality is generally awful, the infobox currently adds an additional barrier to its use, requiring a 1 to be passed. Articles without this parameter but still providing a CMYK value are sorted into Category:Color articles with suppressed CMYK data. An article should provide a CMYK coordinate with 1 only when the source provides these coordinates.