Simplified the ToTexture2D extension method and corrected RGB values to remove the blue hue.