Template:Coltit/testcases

From Wikipedia, the free encyclopedia


without number sign, three hexdigits, only background
{{Coltit|F00}}

{{Coltit}}

title="color F00" style="background: /* */#F00; color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color F00" style="background: /* */#F00; color: /* */##000; text-align: ;"|

without number sign, three hexdigits, two colors
{{Coltit|F00|0F0}}

{{Coltit}}

title="color F00" style="background: /* */#F00; color: /* */#0F0; text-align: ;"|

{{Coltit/sandbox}}

title="color F00" style="background: /* */#F00; color: /* */#0F0; text-align: ;"|

without number sign, six hexdigits, only background
{{Coltit|FF0000}}

{{Coltit}}

title="color FF0000" style="background: /* */#FF0000; color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color FF0000" style="background: /* */#FF0000; color: /* */##000; text-align: ;"|

without number sign, six hexdigits, two colors
{{Coltit|FF0000|00FF00}}

{{Coltit}}

title="color FF0000" style="background: /* */#FF0000; color: /* */#00FF00; text-align: ;"|

{{Coltit/sandbox}}

title="color FF0000" style="background: /* */#FF0000; color: /* */#00FF00; text-align: ;"|

without number sign, three hexdigits, only background
{{Coltit|#F00}}

{{Coltit}}

title="color #F00" style="background: /* */#F00; color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color

  1. F00" style="background: /* */#F00; color: /* */##000; text-align: ;"|
without number sign, three hexdigits, two colors
{{Coltit|#F00|#0F0}}

{{Coltit}}

title="color #F00" style="background: /* */#F00; color: /* */#0F0; text-align: ;"|

{{Coltit/sandbox}}

title="color

  1. F00" style="background: /* */#F00; color: /* */#0F0; text-align: ;"|
without number sign, six hexdigits, only background
{{Coltit|#FF0000}}

{{Coltit}}

title="color #FF0000" style="background: /* */#FF0000; color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color

  1. FF0000" style="background: /* */#FF0000; color: /* */##000; text-align: ;"|
without number sign, six hexdigits, two colors
{{Coltit|#FF0000|#00FF00}}

{{Coltit}}

title="color #FF0000" style="background: /* */#FF0000; color: /* */#00FF00; text-align: ;"|

{{Coltit/sandbox}}

title="color

  1. FF0000" style="background: /* */#FF0000; color: /* */#00FF00; text-align: ;"|
named, only background
{{Coltit|red}}

{{Coltit}}

title="color RED" style="background: #FF0000; color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color RED" style="background: #FF0000; color: /* */##000; text-align: ;"|

named, two colors
{{Coltit|red|green}}

{{Coltit}}

title="color RED" style="background: #FF0000; color: #008000; text-align: ;"|

{{Coltit/sandbox}}

title="color RED" style="background: #FF0000; color: #008000; text-align: ;"|

RGB percentages, only background
{{Coltit |rgb=100%, 0%, 0%}}

{{Coltit}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: /* */##000; text-align: ;"|

RGB percentages, only foreground
{{Coltit |color=0%, 100%, 0%}}

{{Coltit}}

title="color #FFF" style="background: /* */##FFF; color: rgb(0%, 100%, 0%); text-align: ;"|

{{Coltit/sandbox}}

title="color #FFF" style="background: /* */##FFF; color: rgb(0%, 100%, 0%); text-align: ;"|

RGB percentages, two colors
{{Coltit |color=0%, 100%, 0% |rgb=100%, 0%, 0%}}

{{Coltit}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: rgb(0%, 100%, 0%); text-align: ;"|

{{Coltit/sandbox}}

title="color 100%, 0%, 0%" style="background: rgb(100%, 0%, 0%); color: rgb(0%, 100%, 0%); text-align: ;"|

RGB 8bit, only background
{{Coltit |rgb=255, 0, 0}}

{{Coltit}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: /* */##000; text-align: ;"|

{{Coltit/sandbox}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: /* */##000; text-align: ;"|

RGB 8bit, only foreground
{{Coltit |color=0, 255, 0}}

{{Coltit}}

title="color #FFF" style="background: /* */##FFF; color: rgb(0, 255, 0); text-align: ;"|

{{Coltit/sandbox}}

title="color #FFF" style="background: /* */##FFF; color: rgb(0, 255, 0); text-align: ;"|

RGB 8bit, two colors
{{Coltit |color=0, 255, 0 |rgb=255, 0, 0}}

{{Coltit}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: rgb(0, 255, 0); text-align: ;"|

{{Coltit/sandbox}}

title="color 255, 0, 0" style="background: rgb(255, 0, 0); color: rgb(0, 255, 0); text-align: ;"|