Fix test and expose color functions to main library.
Update library and example showing basic color functions.