Color Picker Or Color Combo

In a form I want that the user select one color among 13 predefined colors.
How do do it with a color picker or colored combo list or other ?
Thank you,

In your form add a color input field


Then set an attribute called list with the value of presets (this can be called whatever you like)


Then add some custom code to your page with the 13 colors you require as options:

<datalist id="presets">

Make sure the id is the same name as your ‘list’ value