We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am looking to convert a value that is in rgba to its respective hexadecimal value. With the code written I get - 15538: Uncaught TypeError: Cannot read property 'toString' of undefined.
Can someone tell me what I may be doing wrong?
Here is the code:
var hexcol = hex(hc,mc,sc); // variables in hex() are set up earlier in code text(hexcol, 6,130);