The Light Sensor is a block that emits a redstone signal when in daylight, and does not emit a signal in darkness.
When adjusting the sensitivity, less blue means more light i.e. With a fully blue panel, it will only shut off in complete darkness, and with the smallest sliver of blue, it will shut off before the sun is even fully down, at dusk.
Tip: To invert the signal you can use a NOT Gate. Just hook it up with the power line.