The more common phrase, "no offence" is used when you don't want to offend them. But if you are purposely wanting to offend them you say, "yes offence."
Your kind of being cranky today, yes offence.