Hexadecimal codes, like <code class=color1>#2faced</code>, are interpreted as colors. For a long time now, I’ve wanted the ability to further shorten hexcodes.
Take for example the hexcode for the color black. It can be written as <code class=color2>#000000</code> or <code class=color2>#000</code>. I think we should also be able to write <code class=color2>#0</code> to represent black.
To take this a step further, we know <code class=color3>#f16</code> is the shorthand for <code class=color3>#ff1166</code>, so why can’t <code class=color4>#16</code> be the shorthand for <code class=color4>#161616</code>?
In my ideal world:
<code class=color5>#3</code> would be equivalent to <code class=color5>#333333</code>,
<code class=color6>#7</code> would be equivalent to <code class=color6>#777777</code>,
<code class=color7>#b4</code> would be equivalent to <code class=color7>#b4b4b4</code>,
<code class=color8>#5d</code> would be equivalent to <code class=color8>#5d5d5d</code>,
et cetera, et cetera.
This technique seems like an appropriate short(er)hand for hexcodes and would save a tiny bit of time and bytes.