The <input> the element of type color in HTML provides the user with an interface to select a color from the default color-picker to interface or design their own color by giving the desired value in the field of RGB.
Example: In this example, we will place the default color picker.
Output: The Default value of the Color Picker is #000000 (Black). The user can specify their own shade of color picker with the help of the value attribute.
Example: In this example, we will set the default color as green by using the value attribute.
Output: The value of the text in RGB fields can be changed according to convenience anytime and a new color will be generated.