DHTMLX Docs & Samples Explorer

getSelectedColor()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxcolorpicker.js

get selected color

Returns (array) first - hex rgb value, second - rgb component array, third - hsl component array