represent 3-byte hash as an rgb color in both guis