Difference between revisions of "Template:Colort/ColorShort"

From blackwiki
Jump to navigation Jump to search
imported>Jak123
m
imported>Weegaweek
m ([tooltip])
ย 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
โˆ’
<div style="float:left;display:inline;font-size:90%;margin:1px 5px 1px 5px;width:14em; height:14em;text-align:center;padding:auto;">
+
<div style="float:left;display:inline;font-size:90%;margin:1px 5px 1px 5px;width:11em; height:6em;text-align:center;padding:auto;">
โˆ’
<p style="width:12em;height:2em;padding:5px;margin:auto; background-color:#{{{hex}}}; border: solid 1px #ccc;"></p>
+
<p title="๐—›๐—ฆ๐—ฉ ({{#ifeq:{{{h}}}|โ€”|โ€”|{{{h|{{#expr:{{RGBtoHSL.H|{{{r|0}}}|{{{g|0}}}|{{{b|0}}}|}} round 0}}}}}ยฐ}} {{{s|{{#expr:100*{{RGBtoHSV.S|{{{r|0}}}|{{{g|0}}}|{{{b|0}}}|}} round 0}}}}}% {{{v|{{#expr:100*{{RGBtoHSV.V|{{{r|0}}}|{{{g|0}}}|{{{b|0}}}|}} round 0}}}}}%)&#x0a;๐—ฅ๐—š๐—• ({{{r|0}}} {{{g|0}}} {{{b|0}}})&#x0a;๐—›๐—˜๐—ซ #{{{hex|{{hex3|{{{r|0}}}|{{{g|0}}}|{{{b|0}}}|#=}} }}}"
โˆ’
<p style="width:12em;padding:5px;margin:auto;">
+
ย  style="width:10em;height:1em;
โˆ’
{{{name}}}<br />
+
ย  ย  ย  ย  ย  padding:5px;margin:auto;
โˆ’
{{{h}}}ยฐ,{{{s}}}%,{{{v}}}%<br />
+
ย  ย  ย  ย  ย  background-color:rgb({{{r|0}}},{{{g|0}}},{{{b|0}}});
โˆ’
{{{r}}},{{{g}}},{{{b}}}
+
ย  ย  ย  ย  ย  border:solid 1px #ccc;text-align:right;cursor:help;">
โˆ’
<br />#{{{hex}}} <span style="font-weight:bold; font-size:120%; color:#f00;">{{#ifeq:{{{web_safe|}}}|Yes|<span class="Unicode">&#x2713;</span>| }}</span>
+
ย  <span title="Web-safe" style="font-weight:bold; font-size:100%; color:#f00;">{{#ifeq:{{{web_safe|}}}|Yes|<span class="Unicode">&#x2713;</span>| }}</span>
โˆ’
<br />{{{html_name|โ€”}}}
+
</p>
โˆ’
</p></div>
+
<p style="width:9em;padding:5px;margin:auto;">{{{name}}}</p>
ย +
</div>
ย +
<noinclude>
ย +
[[Category:Color conversion templates]]
ย +
</noinclude>

Latest revision as of 19:14, 30 November 2018

<p title="๐—›๐—ฆ๐—ฉ (Expression error: Unrecognized punctuation character "[".ยฐ Expression error: Unrecognized punctuation character "[".% Expression error: Unrecognized punctuation character "[".%) ๐—ฅ๐—š๐—• (0 0 0) ๐—›๐—˜๐—ซ #000000 "

  style="width:10em;height:1em;
         padding:5px;margin:auto;
         background-color:rgb(0,0,0);
         border:solid 1px #ccc;text-align:right;cursor:help;">
  

{{{name}}}