Yarn color

I just bought some yarn online, and the color does not look like the picture on the yarn website. In the picture it looks whiter. Is it possible to dye 50 cotton/50 linen yarn without damaging it?