implemented color as span
Fixes #26