title: How can I use 3-digit color codes rather than 6-digit color codes in CSS?
body: <p>I recently went through my CSS file and switched all my six-digit hexadecimal codes to simple three-digit codes (for example, my <code>#FDFEFF</code> got shortened to <code>#FFF</code>).</p>
  <p>It renders pretty much the exact same color as before, and it seems to me that the in-between parts are fairly useless and removing them saved me an entire 300 bytes in my CSS file.</p>
  <p>Does it matter which version you use? I rarely ever run across websites that use only the three-digit codes (or I guess I just never run across ones that do). Is it still perfectly valid to use three-digit codes over six-digit codes, or are we supposed to use the full six-digit codes?</p>