Files
vectorcraft/docs
dotCooCoo 1d7f3f6f22 Color Wheel: fix OKLCH and HSL slider review findings
- The largest chroma at a hue near a primary color finds the stretch past
  the first gamut edge, so pure blue at chroma 0.4 stays blue. The C track
  dims the gap between the two stretches.
- Oklab conversions use the signed sRGB transfer curve for channels below 0.
- HSL hues wrap before the channel offsets; Color::to_hsl and from_hsl are
  removed, so callers pass the color settings themselves.
- color.convert {to: "oklch"} clips RGB numbers past 0 to 1, as hex does.
- A hue on a gray, or a saturation on black or white, leaves a Gray paint
  unchanged and records no undo step.
- Remembered row and wheel components are dropped once the panel shows
  another color or target.
- Hiding or switching the rows during a row drag keeps the preview as one
  undo step and ends the interaction.
- The L and H tracks keep their colors until the other two components
  change, so a frame does not search the gamut for every track color.
- Docs name the document's assigned profile as the RGB space OKLCH Sliders
  need, and give color.convert's example its color.
2026-11-18 15:37:33 -08:00
..