<p>I want to convert a number between 0 and 4096 ( 12-bits ) to its 3 character hexadecimal string representation in C#. </p>

<p>Example:</p>

<pre>
2748 to "ABC"
</pre>

try
```
```
2748.ToString("X")
```
```