ColorInput produces the output similar to a coloured Rectangle. It doesn't display the node but the rectangular box. It is mainly passed into the other effects as an input. The class javafx.scene.effect.ColorInput represents the ColorInput effect. The object of this class is passed as an input for the other effects.
Properties of the class javafx.scene.effect.ColorInput along with their setter methods are described below in the table.
The class contains two constructors.
The following example illustrates the working of ColorInput effect.