the application scenario is to pass a decimal color value in the background:-65536. You want the final conversion result to be FFFF0000
, but the conversion method of js is wrong. The problem is that-65536 = > FFFF0000 is a 2-byte conversion, but js is not.
for advice ~ Thank you in advance.