Added initial support for limiting color.

This is contributes to issue #3.