modifies host name color calculation for PS1 so it will not be black as my background is also black. also makes sure that the hostname color value will not be negative since the hash calculations may give negative values