What is the difference between colon and semicolon?

I know they are similar but what is the time you use colons and when semicolons.

encyclopedia.thefreedictionary.com/Semicolons
encyclopedia.thefreedictionary.c … tuation%29