function drawTab(x, y, width, height, container) {
            const GRADIENT = 0
            const X_OFFSET = -3
            const Y_OFFSET = 13
            const TAB_CORNERS_RADIUS = 5

            let point = {
                x: x,
                y: y
            }
            point = UI.projects.foundations.utilities.coordinateTransformations.transformThisPoint(point, container)

            let point1 = {
                x: point.x + X_OFFSET,
                y: point.y + Y_OFFSET
            }

            let point2 = {
                x: point.x + X_OFFSET,
                y: point.y + height + Y_OFFSET
            }

            let point3 = {
                x: point.x - width + X_OFFSET,
                y: point.y + height - GRADIENT + Y_OFFSET
            }

            let point4 = {
                x: point.x - width + X_OFFSET,
                y: point.y + GRADIENT + Y_OFFSET
            }

            browserCanvasContext.beginPath()
            browserCanvasContext.moveTo(point1.x, point1.y)
            browserCanvasContext.lineTo(point2.x, point2.y)
            browserCanvasContext.lineTo(point3.x, point3.y)
            browserCanvasContext.arc(point3.x, point3.y - TAB_CORNERS_RADIUS, TAB_CORNERS_RADIUS, 0.5 * Math.PI, 1.0 * Math.PI)
            // browserCanvasContext.lineTo(point4.x, point4.y)
            browserCanvasContext.arc(point4.x, point4.y + TAB_CORNERS_RADIUS, TAB_CORNERS_RADIUS, 1.0 * Math.PI, 1.5 * Math.PI)
            browserCanvasContext.closePath()
            browserCanvasContext.lineWidth = 1
            browserCanvasContext.strokeStyle = 'rgba(' + UI_COLOR.RUSTED_RED + ', ' + opacity + ''
            browserCanvasContext.stroke()

            /**This controls the background color of the time machines in the charting space. */
            if (configStyle === undefined || configStyle.panelBackgroundColor === undefined) {
                browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.WHITE + ', ' + opacity + ''
            } else {
                let thisColor = eval(configStyle.panelBackgroundColor)
                browserCanvasContext.fillStyle = 'rgba(' + thisColor + ', ' + opacity + ''
            }
            browserCanvasContext.fill()
        }
This controls the color of the pair for each panel (BTC/USDT)