hexToRgba
hexToRgba(
input,a):string
Defined in: utils/helpers.ts:112
Convert a CSS colour string to rgba. Accepts: #RGB, #RGBA, #RRGGBB, #RRGGBBAA, rgb(r,g,b), rgba(r,g,b,a). Returns rgba() with the requested alpha (overrides any existing alpha).
Parameters
Section titled “Parameters”string
number
Returns
Section titled “Returns”string