- Display color picker for hwb(...) - Allow to convert to/from hwb(...) - Autocomplete hwb() function
<rdar://problem/75580962>
If there is anything I can expose in WebCore to help this, let me know.
It would be nice to have DOM API to convert colors between HWB, HSL, RGB (both rgb(1,2,3) and #abc), and keywords (e.g. papayawhip). Currently, Web Inspector duplicates this logic on the front end in https://github.com/WebKit/WebKit/blob/main/Source/WebInspectorUI/UserInterface/Models/Color.js.
Can the web inspector access things like window.internals? If not, maybe we should expose an object for the inspector and add some helpers on it for this (eventually I would like real DOM APIs for that, but it will take time)