The color attribute doesn't seem to be working in Ionic 2. It works fine with normal Ionic tags, but not with HTML tags. Can someone help me with this? The code is provided below.
<ion-content>
<div class="page-home">
<h1 color="secondary">LOGO</h1>
<br/>
<br/>
<p color="danger">Sign in with social media account</p>
<div id="socialLogin">
<img src="assets/icon/fb.svg" />
<img src="assets/icon/tw.svg" />
<img src="assets/icon/goo.svg" />
</div>
<ion-list>
<ion-item>
<ion-label floating color="secondary">Username</ion-label>
<ion-input type="text"></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Password</ion-label>
<ion-input type="password"></ion-input>
</ion-item>
</ion-list>
<br/>
<br/>
<button ion-button full icon-left> <ion-icon name="log-in"></ion-icon>Login</button>
<button ion-button clear>Register</button>
<button ion-button clear>Forgot Password</button>
</div>
</ion-content>