Template:Infobox color/testcases

From Wikipedia, the free encyclopedia


Required parameters only[edit]

Wiki codeLive versionSandbox version
{{Infobox color|title=Sample color|hex=007fff}}
Sample color
 
About these coordinates     Color coordinates
Hex triplet#007fff
sRGBB (r, g, b)(0, 127, 255)
HSV (h, s, v)(210°, 100%, 100%)
CIELChuv (L, C, h)(54, 117, 256°)
Source[Unsourced]
B: Normalized to [0–255] (byte)
Sample color
 
About these coordinates     Color coordinates
Hex triplet#007fff
sRGBB (r, g, b)(0, 127, 255)
HSV (h, s, v)(210°, 100%, 100%)
CIELChuv (L, C, h)(54, 117, 256°)
Source[Unsourced]
B: Normalized to [0–255] (byte)

Double ##[edit]

Wiki codeLive versionSandbox version
{{Infobox color|title=Sample color|hex=007fff|wavelength=##-##}}
Sample color
 
Wavelength
    1. -## nm
About these coordinates     Color coordinates
Hex triplet#007fff
sRGBB (r, g, b)(0, 127, 255)
HSV (h, s, v)(210°, 100%, 100%)
CIELChuv (L, C, h)(54, 117, 256°)
Source[Unsourced]
B: Normalized to [0–255] (byte)
Sample color
 
Wavelength
    1. -## nm
About these coordinates     Color coordinates
Hex triplet#007fff
sRGBB (r, g, b)(0, 127, 255)
HSV (h, s, v)(210°, 100%, 100%)
CIELChuv (L, C, h)(54, 117, 256°)
Source[Unsourced]
B: Normalized to [0–255] (byte)

Everything set[edit]

Wiki codeLive versionSandbox version
{{Infobox color
|title=Sample color
|variations=1
|variation1=Darker sample|variation1color=#003F7F
|variation2=Lighter sample|variation2color=#3FCFFF
|variation3=Grey3|variation3color=#333333
|variation4=Grey4|variation4color=#444444
|variation5=Grey5|variation5color=#555555
|variation6=Grey6|variation6color=#666666
|variation7=Grey7|variation7color=#777777
|variation8=Grey8|variation8color=#888888
|symbolism=Some symbols
|hex=007FFF
|cmyk=1
|c=C|m=M|y=Y|k=K
|pic=Image:CIExy1931.png
|caption=Caption for the picture
|wavelength=num - num
|frequency=num - num
|source=Sample color
|caveat=Some caveat}}
Sample color
 
Spectral coordinates
Wavelengthnum - num nm
Frequencynum - num THz
Common connotations
Some symbols
About these coordinates     Color coordinates
Hex triplet#007FFF
sRGBB (r, g, b)(0, 127, 255)
CMYKH (c, m, y, k)(C, M, Y, K)
HSV (h, s, v)(210°, 100%, 100%)
CIELChuv (L, C, h)(54, 117, 256°)
SourceSample color
B: Normalized to [0–255] (byte)
H: Normalized to [0–100] (hundred)
Some caveat
Some shades of Sample color
Darker sample 
Lighter sample 
Grey3 
Grey4 
Grey5 
Grey6 
Grey7 
Grey8 
Sample color
 
Spectral coordinates
Wavelengthnum - num nm
Frequencynum - num THz
Common connotations
Some symbols
About these coordinates     Color coordinates
Hex triplet#007FFF
sRGBB (r, g, b)(0, 127, 255)
CMYKH (c, m, y, k)(C, M, Y, K)
HSV (h, s, v)(210°, 100%, 100%)
CIELChuv (L, C, h)(54, 117, 256°)
SourceSample color
B: Normalized to [0–255] (byte)
H: Normalized to [0–100] (hundred)
Some caveat
Some shades of Sample color
Darker sample 
Lighter sample 
Grey3 
Grey4 
Grey5 
Grey6 
Grey7 
Grey8 

Linebreaking data[edit]

Wiki codeLive versionSandbox version
{{infobox color
| title= Persian Blue|textcolor=white
| image= Image:Shah mosque2.jpg
| hex=1C39BB
| symbolism=[[Lapis lazuli]]  [[Celestial sphere]]  [[Heaven]]
| source=[123] ⬀⃞ and Maerz and Paul⁽¹²³⁾}}
Persian Blue
 
Common connotations
Lapis lazuli Celestial sphere Heaven
About these coordinates     Color coordinates
Hex triplet#1C39BB
sRGBB (r, g, b)(28, 57, 187)
HSV (h, s, v)(229°, 85%, 73%)
CIELChuv (L, C, h)(31, 94, 263°)
Source[123] ⬀⃞ and Maerz and Paul⁽¹²³⁾
B: Normalized to [0–255] (byte)
Persian Blue
 
Common connotations
Lapis lazuli Celestial sphere Heaven
About these coordinates     Color coordinates
Hex triplet#1C39BB
sRGBB (r, g, b)(28, 57, 187)
HSV (h, s, v)(229°, 85%, 73%)
CIELChuv (L, C, h)(31, 94, 263°)
Source[123] ⬀⃞ and Maerz and Paul⁽¹²³⁾
B: Normalized to [0–255] (byte)