# Controlling the Open State

The ColorPicker enables you to control the open state of its popup element.

To programmatically open or close the ColorPicker, use its [`toggle`](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/colorpickercomponent#toggle) method.

> When you use the `toggle` method, the ColorPicker does not trigger its `open` and `close` events.

The following example demonstrates the `toggle` method in action.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/colorpicker/toggle/source.txt)

## Suggested Links

* [API Reference of the ColorPicker](https://www.telerik.com/kendo-angular-ui-develop/components/inputs/api/colorpickercomponent)
