Tutorialsplane

Ionic Colors


Ionic Colors : Ionic provides ready color utility which you can use frequently in you application. Ionic provides recommended naming convention for colors. It’s easy and simple to use ionic colors utility rather than adding the colors in css. You can also override the default colors. Here we are going to explain the color utility with example and demo.


Ionic Colors

Here is list of colors available in ionic Colors-

Text Colors Class

If you want to change the text color add the below css-

Background Colors Class

If you want to change the background color add the below css-

Here an example of both text and background color

Ionic Colors example with syntax

  • light color(.light)
  • stable color(.stable)
  • positive color(.positive)
  • calm color(.calm)
  • balanced color(.balanced)
  • energized color(.energized)
  • assertive color(.assertive)
  • royal color(.royal)
  • dark color(.dark)

Try it »

If you run the above example it will produce the following output-

Ionic Tutorials

Ionic Components

Javascript Components