Template:Color: Difference between revisions

3,900 bytes added ,  15:37, 2 August 2023
change to a lighter color of brown (existing shade #16)
(Multiple colors fed in as comma-separated string to convert to array working)
(change to a lighter color of brown (existing shade #16))
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="color: {{#switch:{{{1|}}}
<includeonly>[[:Category:{{#if:{{{2|}}}|{{{1|}}} {{{2|}}}|Color}}|<div class="color-swatch" style="{{#if:{{{number|}}}|font-family:monospace;padding: 0 2px 4px;color: white;text-align: center;font-family: monospace;font-size: initial;text-shadow: 1px 1px 2px black;|}}background: {{#switch:{{{1|}}}
           |blue=blue
          <!-- Colors used for clothing & furniture filters -->
           |green=green
           |blue=rgb(87, 162, 244)
           |red=red
           |green=rgb(105, 214, 143)
           |pink=pink
           |red=rgb(215, 73, 76)
           |white=white
           |pink=rgb(232, 143, 202)
           |black=black
           |white=white /*rgb(219, 222, 246)*/
           |yellow=yellow
           |black=rgb(48, 48, 48)
           |orange=orange
           |yellow=rgb(230, 203, 89)
           |brown=brown
           |orange=rgb(237, 138, 88)
           |purple=purple
           |brown=#aa6f00 /*rgb(124, 78, 40)*/
           |gray=gray
           |purple=rgb(144, 115, 216)
           |none=none
           |gray=rgb(143, 143, 143)
           |#default=}};">
           |none=#ccceffe8; border: 1px solid rgb(48, 48, 48)
{{#switch:{{{1|}}}
          <!-- Colors used for motifs and facepaint recoloring -->
           |blue=[[Category:Blue]]
          |1=#404040
           |green=[[Category:Green]]
          |2=#5b5b5b
           |red=[[Category:Red]]
          |3=#939393
           |pink=[[Category:Pink]]
          |4=#cacaca
           |white=[[Category:White]]
          |5=#fdfdfd
           |black=[[Category:Black]]
          |6=#730000
           |yellow=[[Category:Yellow]]
          |7=#ce2222
           |orange=[[Category:Orange]]
          |8=#ff1616
           |brown=[[Category:Brown]]
          |9=#e24949
           |purple=[[Category:Purple]]
          |10=#ee7070
           |gray=[[Category:Gray]]
          |11=#ab4900
           |none=none
          |12=#d46816
           |#default=}}{{{1|}}}</span><noinclude>
          |13=#fa7000
 
          |14=#ec771c
{{#arraydefine: b | blue,green }}
          |15=#e9873b
{{#arrayprint:b|,&nbsp;|arrayItem|{{color|arrayItem}}}}
          |16=#aa6f00
 
          |17=#daa016
[[Category:Formatting templates]]</noinclude>
          |18=#ffc62a
          |19=#ffcb53
          |20=#f5cd70
          |21=#9c8a00
          |22=#dad716
          |23=#fff316
          |24=#fcf951
          |25=#fffda1
          |26=#328000
          |27=#79b20d
          |28=#abf016
          |29=#c3fd5f
          |30=#dbff9c
          |31=#006616
          |32=#1c892e
          |33=#2aed22
          |34=#69d953
          |35=#a2ea94
          |36=#00a07c
          |37=#0db088
          |38=#22edaa
          |39=#7cf3b5
          |40=#b2ffd7
          |41=#007f90
          |42=#16acbf
          |43=#22d2ed
          |44=#7de0f6
          |45=#b0e9f6
          |46=#0d2277
          |47=#163d9f
          |48=#2251ed
          |49=#6e8ff0
          |50=#a5baf7
          |51=#260d77
          |52=#3b1ca6
          |53=#5822ed
          |54=#7c7ae9
          |55=#a9a8ec
          |56=#7a007f
          |57=#7a22a6
          |58=#aa22ed
          |59=#b37ee0
          |60=#d2b1ed
          |61=#a20d92
          |62=#bd22a1
          |63=#dc22ed
          |64=#e375eb
          |65=#efabf4
          |66=#7f001c
          |67=#dd224d
          |68=#ff4060
          |69=#f1687e
          |70=#f18282
          |71=#703200
          |72=#8e733d
           |73=#ab793b
          |74=#cf994f
          |75=#dbc9a0
          |makeup-1=#000000
          |makeup-2=#383838
          |makeup-3=#7a7a7a
          |makeup-4=#b0b0b0
          |makeup-5=#ffffff
          |makeup-6=#320000
          |makeup-7=#730000
          |makeup-8=#cf1c22
          |makeup-9=#ff1616
          |makeup-10=#ea5858
          |makeup-11=#f78887
          |makeup-12=#4d2a0d
          |makeup-13=#66380d
          |makeup-14=#80490d
          |makeup-15=#996026
          |makeup-16=#b87e45
          |makeup-17=#ebab6a
          |makeup-18=#ffc791
          |makeup-19=#ab7000
          |makeup-20=#daa01c
          |makeup-21=#fec62a
          |makeup-22=#ffcb53
          |makeup-23=#ffe19b
          |makeup-24=#9c8a00
          |makeup-25=#dad716
          |makeup-26=#fef416
          |makeup-27=#fcfa4d
          |makeup-28=#fefda1
          |makeup-29=#327f00
          |makeup-30=#79b10d
          |makeup-31=#abf016
          |makeup-32=#c4fd60
          |makeup-33=#dbff9d
          |makeup-34=#006516
          |makeup-35=#1c892a
          |makeup-36=#26ee22
          |makeup-37=#69d953
          |makeup-38=#a2ea94
          |makeup-39=#00a07a
          |makeup-40=#0db089
          |makeup-41=#22edab
          |makeup-42=#7cf3b4
          |makeup-43=#b2fed7
          |makeup-44=#008090
          |makeup-45=#16acbe
          |makeup-46=#22d1ec
          |makeup-47=#7de0f7
          |makeup-48=#afe9f5
          |makeup-49=#0d2276
          |makeup-50=#163d9f
          |makeup-51=#2251ed
          |makeup-52=#6e8ff0
          |makeup-53=#a6baf7
          |makeup-54=#260d77
          |makeup-55=#3b1ca6
          |makeup-56=#5622ec
          |makeup-57=#7c79eb
          |makeup-58=#a9a8ec
          |makeup-59=#32004d
          |makeup-60=#450066
          |makeup-61=#580d7f
          |makeup-62=#7922a5
          |makeup-63=#ba51ee
           |makeup-64=#bf7ee0
           |makeup-65=#d9b1ed
           |makeup-66=#a10d88
           |makeup-67=#bd22a1
           |makeup-68=#ee35cf
           |makeup-69=#ec75d8
           |makeup-70=#f4abe8
           |makeup-71=#7f002a
           |makeup-72=#ae0d42
           |makeup-73=#f73d7c
           |makeup-74=#ec729b
           |makeup-75=#f2afc5
           |#default={{{1|}}}}};"><span style="color:white;">{{{number|}}}</span></div>]]</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
moderator
26,674

edits