title: UIBezierPath color change custom
body: <p>I need to change the color of the UIBezierPath, but if I set a custom color, then there is simply no color.</p>
  <pre><code>UIColor(red: 255/255.0, green: 249/255.0, blue: 244/255.0, alpha: 1.0)
  </code></pre>
  <p>Tried adding colors via extension, but there is no color either.</p>
  <p>UIColor.themeColor.setFill()</p>
  <pre><code>extension UIColor {
    class var themeColor: UIColor {
      return UIColor(red: 255/255.0, green: 249/255.0, blue: 244/255.0, alpha: 1.0)
    }
  }
  </code></pre>
  <p>Standard colors like .blue, .green, .red - work, but I need to understand how to set my own color through rgb</p>
  <p>Here is my code</p>
  <pre><code>class MyView: UIView {
      override func draw(_ rect: CGRect) {
          let path = UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: 303.19, height: 495.93))
         
          path.stroke()
   
      }
  }
  
  
  
  let views = MyView(frame: CGRect(x: 36.62, y: 77.54, width: 303.19, height: 495.93))
          views.backgroundColor = .clear
          views.rotate(radians: -45.84)
  
          view.addSubview(views)
  </code></pre>