Function ColorPicker.addPreset

Adds the given color to a list of color presets. The presets are displayed in the color picker and the user will be able to select them. Note: the presets list is only for this color picker.

void addPreset (
  const(Color) color
) nothrow @nogc;