                 self.closeButton.alpha = 1.0
                 self.captionLabel.alpha = 1.0
                 if let captionText = self.captionLabel.text, !captionText.isEmpty {
-                    self.captionBackgroundView.alpha = 1.0
+                    self.captionBackgroundView.backgroundColor = self.captionBackgroundViewColor
                 }
                 if self.visiblePageControl {
                     self.pageControl.alpha = 1.0

                captionLabel.leftAnchor.constraint(equalTo: view.leftAnchor, constant: 16.0),
                ].forEach { $0.isActive = true }
        }
    }

}

        return pageControl
    }()

    public var captionHeight: CGFloat?
    public var captionBackgroundViewColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.4)
    public var backgroundViewColor = UIColor.black
    public var captionTextColor = UIColor.white
