How can I add colors to both linear gradient colors?

Do you mean this?

Or mask R/G from Texture coord.