Blur masks

how can i make a mask that fades into a color at the end…like a fade effect using a mask over an image…