improve color conversion; add basic animation unit tests; #36