HI i want to change selected marker outline color from blue to any other
Are you using experience builder or Web Appbuilder?
I am using 4.16 esri js version
I didn't get your second question
jsapi 4.0 popup: set highlight graphic on feature layer click?
change the symbol (color, opacity, size, etc) when I click one feature in the layer