Template:ColorSel: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 44: Line 44:
   }}
   }}
| UI={{#switch:{{{2|}}}
| UI={{#switch:{{{2|}}}
   | border=rgb({{#expr: 161 + {{#time:G}}}}, {{#expr: 186 + {{#time:i}}}}, {{#expr: 200 + {{#time:s}}}})
   | border=rgb({{#expr: floor((30-abs({{#time:i}}-30)) * 255 / 30)}}, {{#expr: floor((30-abs({{#time:s}}-30)) * 255 / 30)}}, {{#expr: floor((12-abs({{#time:g}}-12)) * 255 / 12)}})
   | banner=rgb({{#expr: 161 + {{#time:G}}}}, {{#expr: 186 + {{#time:i}}}}, {{#expr: 200 + {{#time:s}}}})
   | banner=rgb({{#expr: floor((30-abs({{#time:i}}-30)) * 255 / 30)}}, {{#expr: floor((30-abs({{#time:s}}-30)) * 255 / 30)}}, {{#expr: floor((12-abs({{#time:g}}-12)) * 255 / 12)}})
   }}
   }}
| Misc=<nowiki>#708090</nowiki>
| Misc=<nowiki>#708090</nowiki>
}}</includeonly><noinclude>{{DISPLAYTITLE:中文(简体)颜色选择器}}
}}</includeonly><noinclude>{{DISPLAYTITLE:中文(简体)颜色选择器}}
</noinclude>
</noinclude>