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.