Discussion moved to Meta as its more about the forum than the Blockly issue
Wan't sure where to make this post - is this OK for everyone?
When dealing with colours in RGB hex format #FF00FF for magenta etc, I find myself needing to translate them into seperate R, G and B values.
In current JS function mode I do stuff like this
var r = msg.payload.substring(1,3); r = parseInt(r, 16).toString(); ....
but currently if I want to do the same in Blockly I have to write own function to replace parseInt (which I've done successfully)
So I'm wondering if
Does core Blockly already have such a function written?
If it doesn't - can one be written (obviosuly yes)
But either way, should some requests like this be added into the Blockly node or should it stick to basic functions and methods.?
e.g just because we can do it - should we do it?