Use substring instead of replace for trimming hex color string

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