Gradient Color. How to get linearColor from matirial?

Hello, I created this material in order to obtain a color gradient from a texture. I can change the value of the gradient from an external blueprint by creating a dynamic matirial and varying the parameter. I would like to know how I can always obtain the color value in linearcolor or RGB from an external bluprint by accessing the material instance.

any suggestions

hope this video might helps: