Convert a hex color into a int32 value with js

I have this value: -16744448;
And this value is this color: And now, I need to know how to change any value in hex like
‘#01ff00’, ‘#7fff82’, ‘#c1ffc0’, ‘#16F6F5’,‘#81FFFC’,‘#BFFFFF’
to int32 (is

Actions
Flag