Local Storage

I’d like to write some information to a user’s local storage (e.g. color choices made during the user’s previous visit to be applied to the application upon return) and was wondering if anyone knew where I could get some outline information on this.

Let me know - Thanks!