Implement color filter, fixes #6