This answer explains numbers like 4280362283 are raw decimal color codes. A library I'm using passes these. What's the algorithm to convert them? Ive throw some attempts like this against the wall but nothing stuck so far:
console.log("Dec:", arr1[0])
let num1 = parseInt(arr1[0], 16);
console.log("Hex:", num1);
let r = parseInt(num1.toString().slice(0, 3), 16);
let g = parseInt(num1.toString().slice(3, 6), 16);
let b = parseInt(num1.toString().slice(6, 9), 16);
console.log("r, g, b:", r, g, b);