This is only used very informally and casually. It is also an "internet-thing".
Actually the character means "black", but is used in the sense of "hey".
Check out this group of Chinese phrases too. You might find more useful Mandarin phrases. The current Chinese phrase "Hey" appears in this group