num.hexToRgb

hexToRgb(h)

Takes either a string hex or a number hex and outputs and [RGB] array.