The ColorPicker widget allows you to easily pick a color. TypeScript example.