nl_tokens: Construct an rgba color from a given hex color code .
pl_tokens: function constructColor ( color , opacity ) { return 'rgba(' + // color looks like "#f0e" parseInt ( color [ 1 ] + color [ 1 ] , 16 ) + ',' + parseInt ( <mask> [ 2 ] + color [ 2 ] , 16 ) + ',' + parseInt ( color [ 3 ] + color [ 3 ] , 16 ) + ',' + opacity + ')' ; }