I am trying to make a gradient box with text with the right color completely blend with the background. Here is my document.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[inner xsep=2mm,text width=5cm,left color=red,right color=white]
{\parbox[t]{\textwidth}{\color{white}\sffamily\bfseries A}};
\end{tikzpicture}
\end{document}
The result I got is this:
I want the border at the right to be gone and the right color to completely blend with the background like this:
I tried fade with transparency from this post but the result is the same.
Any help will be highly appreciated.