Predloga:Infopolje Barva

Dokumentacija za predlogo
Vzorčna barva
 
CIE colorspace
Spektralne koordinate
Valovna dolžinanum - num nm
Frekvencanum - num THz
Common connotations
Nekaj simbolov
Barvne koordinate
Šestnajstiški trojček#007FFF
sRGBB  (rgb)(0, 127, 255)
CMYKH   (c, m, y, k)(C, M, Y, K)
HSV       (h, s, v)(H°, S%, V%)
VirVzorčna barva
Barvni prostorColor Space
B: Normalizirano na [0–255] (bajt)
H: Normalizirano na [0–100] (sto)
Some caveat
Nekateri odtenki barve Vzorčna barva
Temnejši vzorec 
Svetlejši vzorec 

Blank template

{{Infobox color|title      = |bgcolor    =|textcolor  =|image      =  |image_size =|alt        =|caption    =|frequency  =|wavelength =|symbolism  =|spelling   =|hex        =|sRGB       =|rgbspace   =|r=|g=|b=|cmyk       =|c=|m=|y=|k=|h=|s=|v=|hslL       =|hslH       =|hslS       =|source     =|colorspace =|isccname   =|caveat     =|variations = |variation1 =|variation2 =|variation3 =|variation4 =|variation5 =|variation6 =|variation7 =|variation8 =}}

Parameters

The following template parameters are supported.

Spectral color Parameters (optional)
wavelengthThe wavelength interval in nm.
frequencyThe frequency in THz.
Symbolism (optional)
symbolismWhat the color commonly represents. Multiple lines may be included using <br>
RGB Parameters (optional)
rThe red coordinate in the RGB space. Enables the display of RGB coordinates.
gThe green coordinate in the RGB space.
bThe blue coordinate in the RGB space.
hexThis parameter is also shown when RGB is specified.
rgbspace(Optional) Specifies the RGB space used. Replaces the default "RGB".
sRGB(Optional) Specifies that the RGB space is sRGB. Overrides rgbspace if used.
CMYK Parameters (optional)
cmykEnables the display of CMYK coordinates. This is disabled by default.
cCyanic CMYK color space coordinate
mMagenta CMYK color space coordinate
yYellow CMYK color space coordinate
kBlack CMYK color space coordinate
HSV Parameters (optional)
hHue HSV color space coordinate. Enables the display of HSV coordinates.
sSaturation HSV color space coordinate
vValue HSV color space coordinate
Variation samples (optional)
variationsIf set include some samples of variations.
variationstitleUsed for the title of the variations section, otherwise "Some variations of title" is used.
variationNName of the Nth variation, where N is between 1 and 10.
variationNcolorColor used for variationN, defaults to the web color of the same name.
variationNtextcolorUsed for dark colors to allow the text to be white or some other contrasting color.
Other Parameters
bgcolor(Optional) Color in hex format used for background behind the name of the color. Defaults to value specified by the hex parameter.
caveat(Optional) Additional text to display at the bottom of the infobox.
colorspace(Optional) Colorspace of this color.
hexColor in hex format, also used as default for bgcolor unless present.
nocoordsDisable the display of color coordinates if set. Only title and optionally picture, spectral coordinates, symbolism and the caveat will be displayed.
pic(Optional) Name of an image to display. Do not use wikicode: use the format pic=Image:Example.jpg
sourceSource for these color coordinates. See Wikipedia:WikiProject Color/Sources for Color Coordinates.
spelling(Optional) For articles standardised to the British spelling this can be set to "Colour". The word "colour" is case-insensitive.
textcolor(Optional) Colour in which to show the name of the colour. Should be set to white if "hex" is a dark colour, or else not set.
titleName of the color

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 by default 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.see Talk:List of colors