[Bug] Settings API: Color picker in addColorPicker returns NAN for R value

Hi. Currently working on a plugin involving the color picker, and noticed this issue. The issue doesn’t seem to be due to any of the callback code, but the color picker itself.

Example code

new Setting(contentEl)
    .setName("Font Color")
    .addColorPicker((color) => {
        // code

Screen recording

2023-06-21 16-22-56