shared: add three Vec4 funcs
shared: add hextriplet2colour