Yii2-iro demo
yii2-iro is a widget to choose a color. You can use it in an ActiveForm like any other InputWidget in the Yii 2.0 PHP Framework.
yii2-iro is a wrapper around the excellent iro.js JavaScript color picker, created by James Daniel.
yii2-iro can appear in two modes: inline (directly in the page) or in a popup-dialog that opens when a colored button is clicked.