Improve white and black filter

The previous implementation was a bit too permissive and
filtered colors which are not white/black (but are close).
The new impl use HSL's lightness value.

Change-Id: I50d5e51bcb36bc6a10f641608fda4b4784351251
1 file changed