EJS does not has GUI or build in library to calculate the color mixing, so I did not create an EJS version.

However, the source code is available as attached file (at the first posted message) if you want to study it.  :D