Add a couple of utility functions that sets and gets a color from a View.