ColorPicker : Hide Set and Cancel Buttons

How to hide Select and Cancel Buttons on colorpicker. I want to implement Select and Cancel functions with separate buttons on page.

Unfortunately there is no APi allowing to hide the colorpicker buttons.
The only solution is to hide them with css:

display: none !important;