<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ALink_color</id>
	<title>Help:Link color - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ALink_color"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Help:Link_color&amp;action=history"/>
	<updated>2026-05-07T12:56:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Help:Link_color&amp;diff=22559&amp;oldid=prev</id>
		<title>Richardpruen: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Help:Link_color&amp;diff=22559&amp;oldid=prev"/>
		<updated>2022-01-02T17:13:44Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:13, 2 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key uk_vapewiki:diff:1.41:old-22558:rev-22559 --&gt;
&lt;/table&gt;</summary>
		<author><name>Richardpruen</name></author>
	</entry>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Help:Link_color&amp;diff=22558&amp;oldid=prev</id>
		<title>Wikipedia&gt;Quindraco: /* Styling all links just for you */</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Help:Link_color&amp;diff=22558&amp;oldid=prev"/>
		<updated>2021-11-09T16:47:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Styling all links just for you&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{pp-move-indef}}&lt;br /&gt;
{{pp-protected|reason=Persistent [[WP:Vandalism|vandalism]]|small=yes}}&lt;br /&gt;
{{Warning|1={{big|&amp;#039;&amp;#039;&amp;#039;Links should clearly be identifiable as links to readers&amp;#039;&amp;#039;&amp;#039;.}}&amp;lt;br /&amp;gt;Refrain from implementing colored links that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons. See the guides to editing articles for accessibility at  [[WP:CONTRAST|contrast]] and [[WP:NAVBOXCOLOUR|navbox colors]].}}&lt;br /&gt;
{{Wikipedia how-to|shortcut1=H:LC|shortcut2=WP:LINKCOLOR}}&lt;br /&gt;
{{Linking and page manipulation|linking and diffs}}&lt;br /&gt;
&lt;br /&gt;
In Wikipedia, the color of a [[WP:LINK|link]] shows the status of the corresponding target page. The default colors (in the [[Help:Skins|Vector skin]]) have the following meanings: See also [[Wikipedia:Manual of Style/Accessibility/Colors]].&lt;br /&gt;
{{anchor|blue link|blue ink}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:10%&amp;quot; | Link style&lt;br /&gt;
! Type&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Color&lt;br /&gt;
! style=&amp;quot;width:5%&amp;quot; | Color&lt;br /&gt;
|-&lt;br /&gt;
| [[Wikipedia:Links|&amp;lt;span style=&amp;quot;color:#0645AD;&amp;quot;&amp;gt;blue link&amp;lt;/span&amp;gt;]] || link to a Wikipedia page that currently exists || #0645AD = rgb(6,69,173) || {{color box|#0645AD}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Main Page|&amp;lt;span style=&amp;quot;color:#0B0080;&amp;quot;&amp;gt;dark blue link&amp;lt;/span&amp;gt;]] || link to a Wikipedia page that exists and that you have visited || #0B0080 = rgb(11,0,128) || {{color box|#0B0080}}&lt;br /&gt;
|-&lt;br /&gt;
| [[This article does not exist|&amp;lt;span style=&amp;quot;color:#BA0000;&amp;quot;&amp;gt;red link&amp;lt;/span&amp;gt;]] || link to a page that [[Wikipedia:Red link|does not currently exist]] within Wikipedia || #BA0000 = rgb(186,0,0) || {{color box|#BA0000}}&lt;br /&gt;
|-&lt;br /&gt;
| [[This article does not exist either|&amp;lt;span style=&amp;quot;color:#A55858&amp;quot;&amp;gt;light brown link&amp;lt;/span&amp;gt;]] || link to a Wikipedia page that does not exist, but that you have visited || #A55858 = rgb(165,88,88) || {{color box|#A55858}}&lt;br /&gt;
|-&lt;br /&gt;
| [[Pará Arára language|&amp;lt;span style=&amp;quot;color:#772233&amp;quot;&amp;gt;brown link&amp;lt;/span&amp;gt;]] || link to a [[WP:STUB|very short article]] within Wikipedia, but only if the user has set a preference option to format &amp;quot;stub&amp;quot; links in this way || #772233 = rgb(119,34,51) || {{color box|#772233}}&lt;br /&gt;
|-&lt;br /&gt;
| [[wikt:link|&amp;lt;span style=&amp;quot;color:#3366BB&amp;quot;&amp;gt;light blue link 1&amp;lt;/span&amp;gt;]]&amp;lt;br /&amp;gt;[[outreach:|&amp;lt;span style=&amp;quot;color:#3366BB&amp;quot;&amp;gt;light blue link 2&amp;lt;/span&amp;gt;]] || {{anchor|light blue link}}link to a page [[Help:Interwiki linking|at another wiki]], usually [[Help:Interwikimedia links|another Wikimedia project]] or an [[Help:Link#External links|external link]]&amp;lt;br /&amp;gt;Note that the light blue color is used whether or not the page actually exists at the target wiki. For example, there is an article about [[George Washington Carver]] here on the English Wikipedia, while there is [[:ja:George Washington Carver|no article of the same name]] on the Japanese Wikipedia; but they do have [[:ja:ジョージ・ワシントン・カーヴァー|an article about the same man]] under a different title. || #3366BB = rgb(51,102,187) || {{color box|#3366BB}}&lt;br /&gt;
|-&lt;br /&gt;
| [[wikt:|&amp;lt;span style=&amp;quot;color:#663366&amp;quot;&amp;gt;purple link&amp;lt;/span&amp;gt;]] || link to a page on another site that has been visited || #663366 = rgb(102,51,102) || {{color box|#663366}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Note that the colors in the boxes may appear darker than text of the same color; also, larger or bold text will tend to look darker. Furthermore, the actual color seen by a user will vary slightly according to their operating system, desktop settings, and browser, as well as their monitor and (for low-end [[Liquid crystal display|LCDs]]) viewing angle. Logged-in users can also change the colors they see by selecting a different skin or using [[Wikipedia:Customisation|custom CSS]].&lt;br /&gt;
&lt;br /&gt;
==Custom colors==&lt;br /&gt;
{{see|Help:Using colours}}&lt;br /&gt;
===Normal text===&lt;br /&gt;
{{see|Template:Color}}&lt;br /&gt;
For normal text, the {{tl|color}} template with two parameters can be used; name of color or hex code of color and text. &amp;#039;&amp;#039;&amp;#039;However, prose text intended for readers should never be manually colored.&amp;#039;&amp;#039;&amp;#039; ([[MOS:PROSECOLOR]])&lt;br /&gt;
&lt;br /&gt;
{{tlc|color|orange|Hello, world!}} → {{color|orange|Hello, world!}}&lt;br /&gt;
&lt;br /&gt;
{{tlc|color|#00F000|Hello, world!}} → {{color|#00F000|Hello, world!}}&lt;br /&gt;
&lt;br /&gt;
===Links===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Refrain from implementing colored links that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons.&amp;#039;&amp;#039;&amp;#039; ([[MOS:COLOR]])&lt;br /&gt;
&lt;br /&gt;
==== Styling individual links on a page ====&lt;br /&gt;
{{See|Template:Colored link}}&lt;br /&gt;
You can set the color of an individual link or set of links on a page (rather than a global change to the style of all links on Wikipedia) as follows. Setting styles in this way will apply to everyone who views those particular links or that particular page, not just you. &amp;#039;&amp;#039;&amp;#039;However, links intended for readers  should never be manually colored.&amp;#039;&amp;#039;&amp;#039;([[MOS:LINKCOLOR]])&lt;br /&gt;
&lt;br /&gt;
The {{tl|Colored link}} template takes two parameters to function : the color of the link, the article being linked to, and an optional third  parameter for alternative  text to display as a [[WP:piped link|piped link]].&lt;br /&gt;
&lt;br /&gt;
{{tlc|colored link|2=orange|3=Canada}} → {{colored link|Orange|Canada}}&lt;br /&gt;
&lt;br /&gt;
{{tlc|colored link|2=#00F000|3=Page name to link|4=Alternative text}} → {{colored link|#00F000|Page name to link|Alternative text}}&lt;br /&gt;
&lt;br /&gt;
;Or&lt;br /&gt;
&lt;br /&gt;
You can turn links a different color like so:&lt;br /&gt;
&lt;br /&gt;
{{markupv|m=&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[[example|&amp;lt;span style=&amp;quot;color:Orange;&amp;quot;&amp;gt;This page exists.&amp;lt;/span&amp;gt;]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[[exampl|&amp;lt;span style=&amp;quot;color:green;&amp;quot;&amp;gt;This page does not exist.&amp;lt;/span&amp;gt;]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|r=&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
*[[example|&amp;lt;span style=&amp;quot;color:Orange;&amp;quot;&amp;gt;This page exists.&amp;lt;/span&amp;gt;]]&lt;br /&gt;
*[[exampl|&amp;lt;span style=&amp;quot;color:green;&amp;quot;&amp;gt;This page does not exist.&amp;lt;/span&amp;gt;]]&lt;br /&gt;
}}&lt;br /&gt;
Or, if you desire [[existence checking]], you can try:&lt;br /&gt;
{{markupv|m=&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[[example|{{#ifexist: example|&amp;lt;span style=&amp;quot;color:Orange;&amp;quot;&amp;gt;This page exists.&amp;lt;/span&amp;gt;|This page does not exist.}}]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[[exampl|{{#ifexist: exampl|&amp;lt;span style=&amp;quot;color:green;&amp;quot;&amp;gt;This page exists.&amp;lt;/span&amp;gt;|This page does not exist.}}]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|r=&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
*[[example|{{#ifexist: example|&amp;lt;span style=&amp;quot;color:Orange;&amp;quot;&amp;gt;This page exists.&amp;lt;/span&amp;gt;|This page does not exist.}}]]&lt;br /&gt;
*[[exampl|{{#ifexist: exampl|&amp;lt;span style=&amp;quot;color:green;&amp;quot;&amp;gt;This page exists.&amp;lt;/span&amp;gt;|This page does not exist.}}]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== External links ====&lt;br /&gt;
A similar styled span can be added within an external link:&lt;br /&gt;
{{markupv|m=&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[http://example.com &amp;lt;span style=&amp;quot;color:green;&amp;quot;&amp;gt;Example external link&amp;lt;/span&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|r=&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
* [http://example.com &amp;lt;span style=&amp;quot;color:green;&amp;quot;&amp;gt;Example external link&amp;lt;/span&amp;gt;]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Styling all links just for you ===&lt;br /&gt;
You can also customize link colors by editing the [[Cascading Style Sheets|CSS]] at your [[Special:MyPage/skin.css|skin subpage]]. This is a change which will apply to &amp;#039;&amp;#039;all&amp;#039;&amp;#039; links throughout the site, but will only be visible to you.&lt;br /&gt;
&lt;br /&gt;
The standard link selectors are:&lt;br /&gt;
* a:link&amp;amp;nbsp;— defines the style for normal unvisited links&lt;br /&gt;
* a:visited&amp;amp;nbsp;— defines the style for visited links&lt;br /&gt;
* a:active&amp;amp;nbsp;— defines the style for active links; links become active once you click on them&lt;br /&gt;
* a:hover&amp;amp;nbsp;— defines the style for hovered links; links hover when the mouse moves over it&lt;br /&gt;
&lt;br /&gt;
Colors are defined by hexadecimal characters: see [[web colors]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
/* standard link colors */&lt;br /&gt;
.mw-body-content a:link { color: #0000FF; } /* normal unvisited links */&lt;br /&gt;
.mw-body-content a:link:visited { color: #0B0080; } /* visited links */&lt;br /&gt;
.mw-body-content a:link:active { color: #FF0000; } /* active links */&lt;br /&gt;
.mw-body-content a:link.new { color: #FF0000; } /* new links */&lt;br /&gt;
.mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */&lt;br /&gt;
.mw-body-content a:link.external { color: #3366BB; } /* external links */&lt;br /&gt;
.mw-body-content a:link.stub { color: #772233; } /* hovered links */&lt;br /&gt;
&lt;br /&gt;
.mw-body-content a:link {color: #FF0000}&lt;br /&gt;
.mw-body-content a:visited {color: #00FF00}&lt;br /&gt;
.mw-body-content a:hover {color: #FF00FF}&lt;br /&gt;
.mw-body-content a:active {color: #0000FF}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* a:hover must come after a:link and a:visited&lt;br /&gt;
* a:active must come after a:hover&lt;br /&gt;
* you need to have &amp;quot;.mw-body-content&amp;quot; in front of the standard link definition, because otherwise the default definition on this website will still take precedence over what you have defined.&lt;br /&gt;
&lt;br /&gt;
====Redirect====&lt;br /&gt;
&lt;br /&gt;
Show redirects as green links:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.mw-body-content a.mw-redirect {color:#308050}&lt;br /&gt;
.mw-body-content a.mw-redirect:visited {color:#3070A0}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====External====&lt;br /&gt;
Show external links as green links:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.mw-body-content a.external {color: #008000}&lt;br /&gt;
.mw-body-content a.external:visited {color: #008000}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Text decoration====&lt;br /&gt;
This allows formatting such as underlines.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.mw-body-content a:link {color: #000000; text-decoration: underline; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Possible values are:&lt;br /&gt;
* none&lt;br /&gt;
* underline&lt;br /&gt;
* overline&lt;br /&gt;
* line-through&lt;br /&gt;
&lt;br /&gt;
====Font family====&lt;br /&gt;
This will change the link font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.mw-body-content a:link {font-family: monospace}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Preferences====&lt;br /&gt;
The &amp;quot;display links to [[Help:disambiguation|disambiguation]] pages in orange&amp;quot; feature, located in the [[Special:Preferences#mw-prefsection-gadgets|gadgets tab of the preferences menu]] (under the &amp;quot;appearance&amp;quot; section), shows you all links to disambiguation pages in {{color|#ff8921|orange}}.&lt;br /&gt;
&lt;br /&gt;
====Scripts====&lt;br /&gt;
[[User:Anomie/linkclassifier]] is a popular script that customizes colors to indicate links such as pages to be deleted, nonfree-media, redirects, protected pages and more.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Help desk}}&lt;br /&gt;
{{Portal|Help}}&lt;br /&gt;
* {{tl|resize}}&lt;br /&gt;
* {{tl|background color}}&lt;br /&gt;
* {{tl|font color}} – allows setting both text and background color&lt;br /&gt;
* {{tl|coltit}} – colored table header cell&lt;br /&gt;
* {{tl|fake link}}&lt;br /&gt;
{{Web Colors}}&lt;br /&gt;
{{Help navigation}}&lt;br /&gt;
{{Wikipedia technical help|collapsed}}&lt;br /&gt;
[[Category:Wikipedia link help]]&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Quindraco</name></author>
	</entry>
</feed>