Change button on focus

I need a button to change color when focus is applied on it with the gamepad. How do I reference a focused UI object in C#?