Use "color pallet" on "Color" type data field as color picker

For “color” type data filed, currently we are able to pick up color out of few fixed options.

Now, we are to change the App theme color using color pallet like this.


I wish to use the same color pallet for color type data fields to get the unlimiated variety of different color. In the meantime, the data fields will capture HEX or RGB(A) value after user selected from pallet, rather than storing color “text” of yellow, blue, etc.