Table[ArrayPlot[BooleanTable[BooleanFunction[i,3][x,y,z],{x},{y,z}],ColorRules->{False->White,True->Black},ImageSize->25,PlotLabel->Style[i,Small]],{i,0,255}]