Updated opacity snippet.