def is_white(r, g, b):
    """
    Check if an RGB code is white.
    :param r: Red byte.
    :param g: Green byte.
    :param b: Blue byte.
    :return: True if the pixel is white, False otherwise.
    """
    if r == 255 and g == 255 and b == 255:
        return True
    else:
        return False