Swift Package Index

CTColorPicker

https://github.com/rizumita/CTColorPicker.git

HSB ColorPicker for SwiftUI


CTColorPicker

HSB ColorPicker for SwiftUI

How to use

ColorPicker(color: self.color) { color in
    self.color = color
}

ColorPicker is the view.

Pass an initial color to color argument and a closure typed (UIColor) -> () to onChange argument.