Color Input Type

Loading...
Sorry, we can't retrieve the data from server. Please comeback later.

A color input form field is useful when respondents are asked to specify a color. They can enter a color in RGB, HSL, and HEX formats or select it with a visual interface. This demo shows how to add a color input question to a survey in your React, Vue, Knockout, jQuery, or Angular application.

To create a color input form field, configure a regular text entry question first: define an object with the type property set to "text" and add it to the elements array. Within this object, specify the question's title and a unique name that identifies the question. To transform the text entry form field into a color input question, set the inputType property to "color".

Why we use cookies.

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies.

For more information, refer to DevSoft Baltic’ privacy policy and cookie policy.