It's a derogatory way of referring to hair, especially if it's dirty and unkempt. Greñero , fur , lighter , mane .
It is said of a noun, masculine of colloquial use and of derogatory context, since it refers in a dismissive way to someone's hair or oneself.