Template:College color list#Test cases
{{#if:{{{color1|}}}{{{color2|}}}{{{color3|}}}{{{color4|}}}{{{hex1|}}}{{{hex2|}}}{{{hex3|}}}{{{hex4|}}}
|{{br separated entries
|1={{#ifexpr:{{#if:{{{color1|}}}|1|0}}+{{#if:{{{color2|}}}|1|0}}+{{#if:{{{color3|}}}|1|0}}+{{#if:{{{color4|}}}|1|0}} > 2
|{{#invoke:Separated entries|comma|{{{color1|}}}|{{{color2|}}}|{{{color3|}}}|{{{color4|}}}|conjunction=, and }}
|{{#invoke:Separated entries|comma|{{{color1|}}}|{{{color2|}}}|{{{color3|}}}|{{{color4|}}}|conjunction= and }}
}}{{{cite|}}}
|2={{#invoke:String|join| |{{#if:{{{hex1|}}}|{{color box|#{{{hex1}}}}}}}|{{#if:{{{hex2|}}}|{{color box|#{{{hex2}}}}}}}|{{#if:{{{hex3|}}}|{{color box|#{{{hex3}}}}}}}|{{#if:{{{hex4|}}}|{{color box|#{{{hex4}}}}}}}}}
}}
|{{#invoke:College color|list|{{if empty|{{{team|}}}|none}}|{{{1|1}}}|{{{2|2}}}|{{{3|3}}}|{{{4|4}}}|sep=
}}
}}
{{documentation}}