Template:Infobox color/sandbox

{{infobox

| above = {{{title|{{PAGENAME}}}}}

| subheader = {{#if:{{{hex|}}}| }}

| subheaderstyle = line-height:12px; background-color:#{{{hex}}}; border: 0.1px solid #000000

| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{photo-size|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}}

| caption = {{{caption|}}}

| header2 = {{#if:{{{frequency|}}}|Spectral coordinates}}

| label3 = Wavelength

| data3 = {{#if:{{{wavelength|}}}|{{{wavelength}}} nm}}

| label4 = Frequency

| data4 = {{#if:{{{frequency|}}}|{{{frequency}}} THz}}

| header5 = {{#if:{{{symbolism|}}}|Common connotations}}

| data6 = {{{symbolism||yy}}}

| header8 = File:Gtk-dialog-info.svg     Colo{{#ifeq:{{lc:{{{spelling}}}}}|colour|u}}r coordinates

| label9 = Hex triplet

| data9 = {{#if:{{{hex|}}}|#{{{hex}}}{{{hexref|}}}}}

| label10 = {{nowrap|sRGBB (r, g, b)}}

| data10 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToRgbTriplet|{{{hex}}}}})}}}}

| label11 = {{nowrap|CMYKH (c, m, y, k)}}

| data11 = {{#if:{{{c|}}}|{{#if:{{{cmyk|}}}|{{nowrap|({{{c}}}, {{{m}}}, {{{y}}}, {{{k}}}){{{cmykref|}}}}}|Category:Color articles with suppressed CMYK data}}|{{#if:{{{cmyk|}}}|{{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToCmyk|pctsign=0|{{{hex}}}}})}}}}}}}}

| label12 = {{nowrap|HSV (h, s, v)}}

| data12 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToHsv|{{{hex}}}}})}}}}

| label14 = {{nowrap|CIELChuv (L, C, h)}}

| data14 = {{#if:{{{hex|}}}|{{nowrap|({{#invoke:Color|hexToCielch|{{{hex}}}}})}}}}

| label15 = Source

| data15 = {{#if:{{{source|}}}|{{{source}}}|[Unsourced]{{main other|Category:WikiProject Color articles needing infobox sources}}}}

| label17 = ISCC–NBS descriptor

| data17 = {{{isccname|}}}

| data18 = {{#if:{{{hex|}}}|B: Normalized to [0–255] (byte)
}}{{#if:{{{cmyk|}}}|{{#if:{{{hex|}}}{{{c|}}}|H: Normalized to [0–100] (hundred)}}}}

| data19 = {{{caveat|}}}

| header20 = {{#if:{{{variations|}}}|{{{variationstitle|Some shades of {{{title}}}|}}}}}

| label21 = {{{variation1|}}}

| data21 = {{#if:{{{variation1|}}}| }}

| label22 = {{{variation2|}}}

| data22 = {{#if:{{{variation2|}}}| }}

| label23 = {{{variation3|}}}

| data23 = {{#if:{{{variation3|}}}| }}

| label24 = {{{variation4|}}}

| data24 = {{#if:{{{variation4|}}}| }}

| label25 = {{{variation5|}}}

| data25 = {{#if:{{{variation5|}}}| }}

| label26 = {{{variation6|}}}

| data26 = {{#if:{{{variation6|}}}| }}

| label27 = {{{variation7|}}}

| data27 = {{#if:{{{variation7|}}}| }}

| label28 = {{{variation8|}}}

| data28 = {{#if:{{{variation8|}}}| }}

}}{{#if:{{{cmyk|}}}{{{c|}}}{{{m|}}}{{{y|}}}{{{k|}}}|{{Main other|Category:Pages using infobox color with deprecated parameters}}}}{{documentation}}