మూస:Element color
This template returns the element's legend color, to be used in HTML makeup:
- {{Element color|Alkali metals}} →
#ff9d9d
- {{Element color|alkali metal}} →
#ff9d9d
Overview[మార్చు]
State of matter (font color)[మార్చు]
- Color attribute value (font color); color number can can be used as background but the key is not defined then.
-
Solid
→ #000000 -
Liquid
→ #000000 -
Gas
→ #000000 -
Unknown phase
→ #000000
-
Solid (predicted)
→ #000000 -
Liquid (predicted)
→ #008000 -
Gas (predicted)
→ #ff0000
Occurrence (cell border; aka frame)[మార్చు]
- Border attribute value
-
Primordial
→ 2px solid #6e6e8e -
From decay
→ 2px dashed #6e6e8e Note: "Natural radio" deprecated -
Synthetic
→ 2px dotted #6e6e8e -
Undiscovered
→ 2px solid transparent -
None
→ 2px solid transparent
Metal–nonmetal categories[మార్చు]
-
Alkali metals
→ #ff9d9d -
Alkaline earth metals
→ #ffdead -
Lanthanides
→ #ffbfff -
Actinide
→ #ff99cc -
Superactinide
→ #d1ddff -
Eka-superactinide
→ #c6dd9d -
Transition metal
→ #ffc0c0 -
Post-transition metal
→ #cccccc -
Metalloid
→ #cccc99 -
Diatomic nonmetal
→ #e7ff8f -
Polyatomic nonmetal
→ #a1ffc3 -
Noble gas
→ #c0ffff
-
Unknown chemical properties
→ #e8e8e8 -
Unknown
→ #ffffff
Metal–nonmetal categories, reduced set[మార్చు]
-
Metals
→ #eee8aa -
Metalloids
→ #cccc99 -
Nonmetals
→ #b0e0e6 -
Inner transition metals
→ #d8bfd8
Year and era[మార్చు]
-
Antiquity to Middle Ages
→ #ffb9b9 -
Before 1800
→ #dfcdff -
1800-1849
→ #cbffb9 -
1850-1899
→ #b9ffe4 -
1900-1949
→ #ffe2b9 -
1950-1999
→ #fff6b9 -
2000-present
→ #ffb9ef -
Future
→ transparent
Example: {{Periodic table (discovery periods)}}
Blocks[మార్చు]
-
s-block
→ #ff9999 -
p-block
→ #fdff8c -
d-block
→ #99ccff -
f-block
→ #9bff99 -
g-block
→ #fd99ff Note: unused, g-block does not exist. This color is used to derive the 'predicted' color
In period 8, theoretical elements:
-
s-block (predicted)
→ #ffcccc -
p-block (predicted)
→ #ffffbf -
d-block (predicted)
→ #c7eeff -
f-block (predicted)
→ #cdffcc -
g-block (predicted)
→ #febfff
Numbers[మార్చు]
Used in: Valence (chemistry)#Maximum valences of the elements These colors correspond to the Alkali metal–noble gases range
-
0
→ #c0ffff -
1
→ #ff8989 -
2
→ #ffdead -
3
→ #ffbfff -
4
→ #cccccc -
5
→ #cccc99 -
6
→ #a0ffa0 -
7
→ #ffff99 -
8
→ #d1ddff -
9
→ #c6dd9d
Metalloid cite classes[మార్చు]
See Template:Periodic table (list of metalloid lists)
-
Metalloid citeclass 1of4
→ #baffba Note: currently: 93% -
Metalloid citeclass 2of4
→ #badcff Note: currently: 44% -
Metalloid citeclass 3of4
→ #ffbadc Note: currently: 24% -
Metalloid citeclass 4of4
→ #ffffba Note: currently: 9%
Setting a default color[మార్చు]
|1=not a color name
|default=#aabbcc
→ #aabbcc (use # not #)|1=not a color name
|default=thistle
→ thistle
Misc[మార్చు]
-
Rare earth metal
→ #Ffbffe Note: discussed, Nov/Dec 2013 -
Halogen
→ #ffff99 Note: deprecated as a nonmetal category. See nonmetal
"Unknown" variants[మార్చు]
-
Unknown
→ #ffffff -
Unk
→ #Ffffff Note: deprecated -
Unknown (white)
→ #Ffffff Note: deprecated -
White
→ #ffffff -
X
→ #Ffffff Note: Deprecated, redireced toUnknown (white)
-
Unknown chemical properties
→ #e8e8e8 -
(See below)
→ #f8f8f8 Note: deprecated -
Future
→ transparent -
Redirect
→ #c0c0c0 -
Unassessed
→ transparent -
Unknown phase
→ #000000 -
Undiscovered
→ 2px solid transparent -
none
→ 2px solid transparent
Wikipedia article quality[మార్చు]
Used in: Wikipedia:WikiProject Elements/Articles/Periodic Table by Quality
-
aq-FA
→ #6699ff -
aq-A
→ #66ffff -
aq-GA
→ #55cc55 Note: Formal color is#66ff66
-
aq-B+
→ #66ff66 Note: or aq-Bplus -
aq-B
→ #bcff66 Note: Formal color is#b2ff66
-
aq-C
→ #ffff66 -
aq-Start
→ #ffaa66 -
aq-Stub
→ #ff6666 -
aq-Unassessed
→ #f8f9fa
Wikipedia article importance[మార్చు]
-
imp-Top
→ #ff00ff -
imp-High
→ #ff88ff -
imp-Mid
→ #ffbbff -
imp-Low
→ #ffddff -
imp-???
→ #f8f9fa -
imp-n/a
→ #f5f5f5
Color names[మార్చు]
-
Black
→ #000000 -
White
→ #ffffff
-
blue
→ #0000ff -
green
→ #008000 -
red
→ #ff0000 -
yellow
→ #ffff00
Table background[మార్చు]
-
table title
→ #d8d8d8 -
table header
→ #e0e0e0 -
table colheader
→ #e8e8e8 -
table mark
→ #f0f0f0 -
table background
→ #f8f8f8 -
table border
→ #a9a9a9
Specification (1st parameter) |
Alternative specification |
Returns color | Note |
---|---|---|---|
title | caption | #d8d8d8 | |
header | #e0e0e0 | ||
colheader | rowheader, subheader, colh, rowh, subh | #e8e8e8 | |
mark | #f0f0f0 | ||
background | bg | #f8f8f8 | Also the default return value |
border | #a9a9a9 | Equals predefined color "grey" |
The return values are complete color values to be used as a CSS style, including the #
but not the ;
character.
Deprecated or unknown meaning[మార్చు]
Do not use these color names. In general, it is advised to use a more specific, meaningful color name. These color names are not used in main space, and most are redirected to another color.
-
D
→ transparent Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
E
→ transparent Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
F
→ transparent Note: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken. -
X
→ #Ffffff Note: Unspecific, redirected toUnknown (white)
-
Disambig
→ #00fa9a Note: Not a legend color, unknown intention. -
UnknownC
→ transparent Note: Unclear meaning. Redirected toUnknown phase
-
veryreactive
→ transparent Note: Testing or sandbox.
Colors hardcoded[మార్చు]
The same colors, with the same key, may be hardcoded in templates and pages:
- See Category
{{Periodic table (32 columns, micro)/elementcell}}
{{Periodic table (Goldschmidt classification)}}
(cells, not the legend){{Periodic table (electron configuration)}}
{{Periodic table (electron configuration lanthanides)}}
- Period 7 element
Deprecated parameters[మార్చు]
Color names tracked
|
---|
List of color names to be researched: | actinoid | actinoids | future | inner transition metal | inner transition metals | lanthanoid | lanthanoids | natural radio | other metal | other metals | other metal (predicted) | other metals (predicted) | poor metal | poor metals | poor metal (predicted) | poor metals (predicted) | rare earth metal | rare earth metals | x | unk | unknown (white) | unknown property | unknown properties | (see below) | (seebelow) | seebelow | see below | see below (border) | white | black | red | yellow | blue | green <!-- blocks --> | ??? | imp-??? | imp-unassessed | s-block-p | s-block light | p-block-p | p-block light | d-block-p | d-block light | f-block-p | f-block light | g-block-p | g-block light <!-- aq-pref missing--> | fa | a | ga <!-- gaS conflict plural-s--> | b | c | start | stub | list | bplus | b+ | future | current | disambig | na | redirect | book | template | category | unassessed <!-- IMP prefix missing--> | top | high | mid | low | bottom | na | n/a | ??? | unassessed <!--table--> | tablecolh | tablerowh | unknownc | veryreactive | halogen | halogen (predicted) | halogens (predicted) |
See also[మార్చు]
- {{element cell/overview}}
- {{element frame}}