Sorry for the late reply.
We have attached a sample MVC application to demonstrate how to retrieve HEX value from database for ColorPicker in EditView. Please find the sample application in the below link.
In the provided sample MVC application, after selecting the HEX value in ColorPicker, that value will be retrieved using id attribute from Edit View and it will get updated in the database.
Shameer Ali Baig S