Use substring instead of replace for trimming hex color string

This closes Issue https://github.com/nsue/multiplayer-breakout/issues/38