added utility for formatting color as rgb hex string in the format that we expect it to be