def _asTruecolorString(rgb):
    """
    Encode the given color as a Truecolor string

    Parameters:
        rgb (tuple): a tuple containing Red, Green and Blue information

    Returns:
        The encoded string
    """
    return "2;{};{};{}".format(rgb[0], rgb[1], rgb[2])