def is_gray(color):

    m = HEX_IS_GRAY_RE.match(color)
    return m is not None
Check if color is gray (all channels the same).
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py/is_gray