Requires Netscape or Internet Explorer versions 4.0 or higher.
The result of the input is based on the function of the gate.
AND - for the result to be green both A and B have to be green.
OR - for the result to be green either A or B have to be green. A & B can also both be green for the result to be green.
NOT - for the result to be green A has to be red. NOT gates work by taking the opposite value of the input. In other words, result is green when A is not green.