Implement color filtering.