Getting Crash When I use RGB in CGColor :  
Im giving `RGB color` in `CGColor`.It is getting crashed in `shapeLayer.fillColor` and `shapeLayer.strokeColor`.
    
    let circlePath = UIBezierPath(arcCenter: CGPoint(x: bounds.origin.x+60,y: bounds.origin.y+107), radius: CGFloat(6), startAngle: CGFloat(0), endAngle:CGFloat(7), clockwise: true)
            
            let shapeLayer = CAShapeLayer()
            shapeLayer.path = circlePath.cgPath
             circlePath.lineCapStyle = .round
            
            shapeLayer.fillColor = (UIColor(red: 57, green: 65, blue: 101, alpha: 1) as! CGColor)
            shapeLayer.strokeColor = (UIColor(red: 57, green: 65, blue: 101, alpha: 1) as! CGColor)
            shapeLayer.lineWidth = 3.0
            self.layer.addSublayer(shapeLayer)

[If I write RGB code as `UIColor(red: 57, green: 65, blue: 101, alpha: 1)`,it give me warning to change to `(UIColor(red: 57, green: 65, blue: 101, alpha: 1) as! CGColor)`][1]
Can anyone give a solution to solve this?


  [1]: https://i.stack.imgur.com/Te8Ks.png