It is legal and safe to use different tools that help you master the game and play it right. Betting strategies, schemes, and charts are tools for beginners. Later, as your skill grows, you can play without additional helpful cards. But even if you worry about the legality of using such tools, no one sees you at an online casino, anyway.