Changing text color of a button while pressed

Button Not pressed

39 AM

Button while pressed. I want the color to be white instead.

55 AM

use ngClass Attribute of button to apply your desired css to button

But how to specify the color of the text when the button is pressed.

ngClass is used to apply the css class and in css class i think you can give any style right?
so just google for how to use ngclass in ionic and you can get your answer