@staticmethod
def colorMsg(m='', c='red', flag=False, title=False, end='\n'):
    """Color text output"""
    sign = '30' if title else '1'
    colorCode = {'red': 31, 'green': 32, 'yellow': 33, 'blue': 34, 'pink': 
        35, 'cblue': 36, 'white': 37}
    color = colorCode.get(c, 31) + (10 if title else 0)
    colorSign = '\x1b[' + sign + ';' + str(color) + 'm{0}\x1b[0m'
    msg = colorSign.format(m)
    if flag:
        return colorSign
    else:
        print(msg, end=end)
        return msg
