Refactor that. Fix color.isLight()