@staticmethod
    def set_custom_color(index, color):
        QColorDialog.setCustomColor(index, color.argb)
Set the custom color for the given index.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_color_dialog.py/QtColorDialog.set_custom_color