public readonly property selectedColor as Color:
Color accepted by the user, or the initial color after cancellation.
if dialog.showDialog(window): print(dialog.selectedColor)