We are working on a more comprehensive hostname string checksum based solution in this gist incl. 256 color compatibility. Aside from the case where you're actually interested in determining a specific color for each of your servers yourself, I feel this is one of those "it's what we have computers for" problems, so getting "random" colors determined for you based on checksums should be a good approach.
↧