Difference between revisions of "Hexadecimal"

esse quam videri
Jump to: navigation, search
(Created page with " =Definition= =Relevance= =Explanation= =Resources= == See also == * Base 10 * Numeral Systems ==Notes== ==External Links== Category:Programming Languag...")
 
(Hex Code for Color)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  
 
=Definition=
 
=Definition=
 
+
Hexadecimal, commonly abbreviated to Hex and also known as Base 16, is a method of counting wherein a radix, or base, of 16 is used. Similar to ASCII, Hexadecimal has every character associated with a unique id. In Hexadecimal, [0 - 9] is represented with [0 - 9] like in Decimal but [A - F] is used to represent [10 - 15].
  
 
=Relevance=
 
=Relevance=
 +
*[[Base 10]]
 +
*[[Decimal]]
  
 
=Explanation=
 
=Explanation=
 +
'''Base 16 Table'''
 +
 +
[[File:HexTable3.png | 400px]]
 +
  
 +
==='''Hex Code for Color'''===
 +
----
 +
All graphic design software and companies use hex code to get exact colors for their use. Hex code can pinpoint any color within the visible spectrum and is a great reference guide for people struggling to find a color. Hex code is 6 characters long, each set of two representing a channel (Red, Green, Blue) and how "bright" that color is shinning.
  
 +
[[File:HexColorVisual.jpg | 400px]]
 +
 +
'''White''': For white, all channels are at its highest point or #FFFFFF. '''Red''', '''Green''', and '''Blue''' are all at a maximum value of 255 when white color is selected.  If F is equal to 15 then 255 will be FF or 15*15. So if 255 is FF then the RGB values would be R:255, G:255, B:255
 +
 +
<syntaxhighlight lang ="csharp">R:FF, G:FF, B:FF</syntaxhighlight>  Hex puts all of these values together so White would be: <syntaxhighlight lang ="csharp">#FFFFFF</syntaxhighlight>
 +
----
 +
On the other hand, Black is the absence of light or color. It's hex code would be: <syntaxhighlight lang ="csharp">#000000</syntaxhighlight>
 +
 +
Similarly:
 +
 +
*Pure Red - <syntaxhighlight lang ="csharp">#FF0000</syntaxhighlight>
 +
*Pure Green - <syntaxhighlight lang ="csharp">#00FF00</syntaxhighlight>
 +
*Pure Blue - <syntaxhighlight lang ="csharp">#0000FF</syntaxhighlight>
 +
----
 +
Examples:
 +
 +
[[File:HexViolet.jpg | 500px]]
 +
[[File:HexOrange.jpg | 500px]]
 +
[[File:HexYellow.jpg | 500px]]
 +
[[File:HexBlueGray.jpg | 500px]]
  
 
=Resources=
 
=Resources=
 +
https://www.theproblemsite.com/reference/mathematics/codes/hexadecimal-code
 +
 
== See also ==
 
== See also ==
  
 
* [[Base 10]]
 
* [[Base 10]]
 
* [[Numeral Systems]]
 
* [[Numeral Systems]]
 
==Notes==
 
 
  
 
==External Links==
 
==External Links==
 
+
https://en.wikipedia.org/wiki/Hexadecimal
 
 
  
 
[[Category:Programming Language Concepts]]
 
[[Category:Programming Language Concepts]]

Latest revision as of 16:29, 22 July 2019

Definition

Hexadecimal, commonly abbreviated to Hex and also known as Base 16, is a method of counting wherein a radix, or base, of 16 is used. Similar to ASCII, Hexadecimal has every character associated with a unique id. In Hexadecimal, [0 - 9] is represented with [0 - 9] like in Decimal but [A - F] is used to represent [10 - 15].

Relevance

Explanation

Base 16 Table

HexTable3.png


Hex Code for Color


All graphic design software and companies use hex code to get exact colors for their use. Hex code can pinpoint any color within the visible spectrum and is a great reference guide for people struggling to find a color. Hex code is 6 characters long, each set of two representing a channel (Red, Green, Blue) and how "bright" that color is shinning.

HexColorVisual.jpg

White: For white, all channels are at its highest point or #FFFFFF. Red, Green, and Blue are all at a maximum value of 255 when white color is selected. If F is equal to 15 then 255 will be FF or 15*15. So if 255 is FF then the RGB values would be R:255, G:255, B:255

R:FF, G:FF, B:FF
Hex puts all of these values together so White would be:
#FFFFFF

On the other hand, Black is the absence of light or color. It's hex code would be:
#000000

Similarly:

  • Pure Red -
    #FF0000
    
  • Pure Green -
    #00FF00
    
  • Pure Blue -
    #0000FF
    

Examples:

HexViolet.jpg HexOrange.jpg HexYellow.jpg HexBlueGray.jpg

Resources

https://www.theproblemsite.com/reference/mathematics/codes/hexadecimal-code

See also

External Links

https://en.wikipedia.org/wiki/Hexadecimal