Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Hexadecimal
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Syntax that is always Hex==== Sometimes the numbers are known to be Hex. * In [[URI]]s (including [[URL]]s), [[character encoding|character codes]] are written as hexadecimal pairs prefixed with {{code|%}}: {{code|<nowiki>http://www.example.com/name%20with%20spaces</nowiki>}} where {{code|%20}} is the code for the [[Space (punctuation)#Space characters and digital typography|space (blank)]] character, [[ASCII]] code point 20 in hex, 32 in decimal. * In the [[Unicode]] standard, a character value is represented with {{code|U+}} followed by the hex value, e.g. {{code|U+00A1}} is the [[inverted exclamation point]] (¡). * [[Web colors|Color references]] in HTML, [[Cascading Style Sheets|CSS]] and [[X window system|X Window]] can be expressed with six hexadecimal digits (two each for the red, green and blue components, in that order) prefixed with {{code|#}}: <span style="color:#FF00FF">magenta</span>, for example, is represented as {{code|#FF00FF}}.<ref>{{cite web |url=http://www.web-colors-explained.com/hex.php |title=Hexadecimal web colors explained |access-date=2006-01-11 |archive-url=https://web.archive.org/web/20060422004336/http://www.web-colors-explained.com/hex.php |archive-date=2006-04-22 |url-status=dead }}</ref> CSS also allows 3-hexdigit abbreviations with one hexdigit per component: {{code|#FA3}} abbreviates {{code|#FFAA33}} (a golden orange: {{color box|#FA3}}). * In [[MIME]] (e-mail extensions) [[quoted-printable]] encoding, character codes are written as hexadecimal pairs prefixed with {{code|1==}}: {{code|1=Espa=F1a}} is "España" (F1{{sub|hex}} is the code for ''ñ'' in the ISO/IEC 8859-1 character set).<ref>{{Cite web |url=https://www.ic.unicamp.br/~stolfi/EXPORT/www/ISO-8859-1-Encoding.html|title=ISO-8859-1 (ISO Latin 1) Character Encoding |website=www.ic.unicamp.br|access-date=2019-06-26|archive-date=2019-06-29 |archive-url=https://web.archive.org/web/20190629203430/http://www.ic.unicamp.br/~stolfi/EXPORT/www/ISO-8859-1-Encoding.html|url-status=live}}</ref>) * PostScript binary data (such as image [[pixel]]s) can be expressed as unprefixed consecutive hexadecimal pairs: {{code|AA213FD51B3801043FBC}} ... * Any [[IPv6 address]] can be written as eight groups of four hexadecimal digits (sometimes called [[hextet (computing)|hextet]]s), where each group is separated by a colon ({{code|:}}). This, for example, is a valid IPv6 address: {{code|2001:0db8:85a3:0000:0000:8a2e:0370:7334}} or abbreviated by removing leading zeros as {{code|2001:db8:85a3::8a2e:370:7334}} ([[IPv4 address]]es are usually written in decimal). * [[Globally unique identifier]]s are written as thirty-two hexadecimal digits, often in unequal hyphen-separated groupings, for example {{code|3F2504E0-4F89-41D3-9A0C-0305E82C3301}}.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Hexadecimal
(section)
Add topic