title: Understanding hexadecimals and bytes in C#
body: <p>I seem to lack a fundemental understanding of calculating and using hex and byte values in C# (or programming in general).</p>
  
  <p>I'd like to know how to calculate hex values and bytes (0x--) from sources such as strings and RGB colors (like how do I figure out what the 0x code is for R255 G0 B0 ?)</p>
  
  <p>Why do we use things like FF, is it to compensate for the base 10 system to get a number like 10? </p>