模板:Infobox color
外觀
{{{title}}} | ||
---|---|---|
— Color coordinates — | ||
Hex triplet | #{{{hex}}} | |
RGBa | (r, g, b) | ({{{r}}}, {{{g}}}, {{{b}}}) |
HSV | (h, s, v) | ({{{h}}}°, {{{s}}}%, {{{v}}}%) |
a: Normalized to [0–255] (byte) |
Note
[編寫源代碼]For articles standardised to british spelling, add the parameter spelling=Colour
. The word "colour" is case-insensitive.
Note that CMYK values are not included as there is no single way to obtain a CMYK quartet from an RGB triplet. 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.