- The chips report and show their hex value as the Color panel's hex field
writes it (828282), not as #828282.
- The saved Show Color Vision Preview setting reads through the Color
panel's existing reader (`deserialize_rgb_percent`) instead of a copy.
- The key test moves the keyboard focus to each chip with Tab before it
presses Enter and Space.
- A test checks that `{"view": "box", "channel": "red", "vision": 1}` returns
an error and leaves the view and the channel unchanged.
- docs/mcp.md says the command returns `{view, channel, vision}` in one
place, and that `null` keeps the setting.
- The module doc says the vision setting is kept with the preferences.
The Color Wheel panel's menu gains Show Color Vision Preview, which adds
a row of four chips under the wheel or the box: the current color
through the protanopia, deuteranopia and tritanopia simulations that
View > Proof Setup uses (Cms::proof_srgb), and an achromatopsia chip
that shows the gray with the color's CIE L*, a rule of VectorCraft's
own. Each chip takes the keyboard focus, reports its name and its hex
value to screen readers and shows both in its tooltip. A click or a key
on a chip does not apply its color. With no solid color the chips are
empty and keep their names.
ui.colorWheel takes a vision key next to view and channel and returns
all three. A value that is not true, false or null is an error and
changes nothing. The setting is kept with the preferences, and a saved
value the build does not read falls back to the default without losing
the other settings. New strings have rows in the complete catalogs.
Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md.
The Color Wheel panel's menu gains Wheel View and Box View, and Box
Channel with Hue, Saturation, Brightness, Red, Green and Blue while the
box shows. The box takes the wheel's place: a color field with a 22 pt
channel strip at its right. The field shows the other two components on
the Color Picker's axes (Hue: saturation across and brightness up; Red:
blue across and green up). A click or drag in the field sets those two,
and the strip sets the channel; a drag is one undo step, and picks go
through the same paint commands and color model rules as the wheel's.
With no color to edit, the field and the strip show no markers and read
0 to screen readers, as the wheel does.
ui.colorWheel {view?, channel?} sets the view and the channel and
returns them. Params that are not an object, another key or a value off
the list are an error and change nothing. Both settings are kept with
the preferences, and a saved value the build does not know reads as
that key's default without losing the other preferences.
The strip takes the arrow keys after a click and offers screen readers
its increment, decrement and set-value actions. The Color Picker's
channel slider uses the same widget, so it now takes the arrow keys and
offers those actions too. New strings have rows in the complete
catalogs, and docs/mcp.md and docs/control-protocol.md describe the
command.