avoid some code duplication in color comparison
avoid some code duplication in color comparison
ycaihua/skim-app,ycaihua/skim-app,ycaihua/skim-app,ycaihua/skim-app,ycaihua/skim-app,WoLpH/skim,WoLpH/skim,WoLpH/skim,WoLpH/skim,WoLpH/skim