rename hashStringToColor to asColor