def color_mode_option(cm_wg):
    """Color mode option.

    Parameters
    ----------
    cm_wg : pyqtgraph.widgets.ComboBox
        ComboBox of color mode

    Returns
    -------
    cm_status : bool
        True if color, False if gray
    """
    if cm_wg.currentText() == "Color":
        return True
    elif cm_wg.currentText() == "Gray":
        return False