I'm a beginner and need, for an eLearning lesson, to convert the output from a color picker DLL which exports using a Microsoft Access (Office) color code (for example: 16711680) to a R, G, B format, for example: 0,255,0.

The eLearning authoring tool uses an older form of JavaScript called EMCA-262.

As a beginner, I'm not sure how to write a JS script to convert.

Any help appreciated.