If I understand you correctly, this is already available.

Press ALT+ K > right-click on one of the 16 colours > click "define custom colors"

Is this what you want?