Checking the color luminance of a color in sketch