iOS 14 shipped with native color pickers for UIKit (UIColorWell), AppKit (NSColorWell) and SwiftUI (ColorPicker).
While the color wells have a property selectedColor that exposes the selected UIColor/NSColor values, the SwiftUI ColorPicker takes a Binding<Color>. However, I can't find any information how to get anything useful from the Color value.
Creating a Color from a UIColor is easy using Color.init(_: UIColor) but there does not seem to be a way to get a UIColor from an existing Color or to extract the color components (e.g. the RGB values similar to the UIColor.getRed(_:green:blue:alpha:) method).
How do I get the underlying color values from a SwiftUI ColorPicker?