Seeing a red apple should increase your confidence that all ravens are black.
Why? Because the statement “All ravens are black” is logically equivalent to “All non-black things are non-ravens.” And seeing a red apple (or green grass) confirms this belief.
This is logically inescapable, even if it’s counterintuitive. It’s known as Hempel’s paradox.