If you haven't GNU grep available, here is something more portable:

    grepc()
    {
      pattern=$1
      shift
      sed 's"'"$pattern"'"^[[32m&^[[0m"g' "$@"
    }