UI: support 3 digit hex colors like HTML, e.g. #123 becomes #112233.

Patch #35359 by Forest Ka.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57135 954f8c5b-7b00-dc11-b283-0030488c597c