Hexadecimal to float numbers array converter

November 2012

While writing After Effects scripts, I often find myself having to convert hexadecimal color to float numbers array, eg.: #f8a908 → [0.97, 0.66, 0.03]

Since it was really painful to convert it manually and I did not happen to find a converter that would do it easily, I decided to build my own. You can see the code or just get the demo.