How to change color icon in Materialize?

HeartOfprogrammer picture HeartOfprogrammer · Mar 12, 2016 · Viewed 55.4k times · Source

I use css framework Materialize.css I don't understand where past color in my HTML icon

<i class="large material-icons">note_add</i>

I have tried cyan darken-4

<i class="large material-icons cyan darken-4">note_add</i>

But nothing succeeded, I need exactly change color icon. How to make it?

Answer

Christopher picture Christopher · May 31, 2016

Add the class of "cyan-text" & "text-darken-4" to the .

<i class="large material-icons cyan-text text-darken-4">note_add</i>