Data Model Flex



    
        
            private function intToHex(color:int = 0):String {
                var mask:String = "000000";
                var str:String = mask + color.toString(16).toUpperCase()
                return "#" + str.substr(str.length - 6);
            }
      
    

                minimum="0x000000"
            maximum="0xFFFFFF"
            liveDragging="true"
            dataTipFormatFunction="intToHex"/>