 = "0x" + hex[3] + hex[3];
                                    } else if (hex.length == 7) {
                                        r = "0x" + hex[1] + hex[2];
                                        g = "0x" + hex[3] + hex[4];
                                        b = "0x" + hex[5] + hex[6];
                                    }
                                    return `rgba(${+r},${+g},${+b},${alpha})`;
                                }

                                ctx.beginPath();
    