CDE default palette: which slot is what, measured on a running CDE
==================================================================
Measured 2026-11-06 on the CDE that runs on this host (dtsession, dtwm under
/usr/mdt, display :0).  No CDE source is in the tree; this is from the running
system only.

/usr/mdt/palettes/Default.dp, eight lines, 16 bits per channel:
  1 #ed00a8007000   2 #9900991b99fe   3 #89559808aa00   4 #68006f008200
  5 #c600b2d2a87e   6 #49009200a700   7 #b70087008d00   8 #938eab73bf00

`xrdb -query` of the session:
  *ColorPalette:  Default.dp          *background: #C6C6B2B2A8A8
  *foreground:    #000000000000       *enableCDEColorFactors: True
=> `*background' is slot 5 cut to 8 bits per channel (c6 b2 a8), and the text
   is black.  Every ordinary window (terminals, dialogs, the front panel) is
   that colour; that is the colour sysinst takes.  What the other slots colour
   (title bars, workspace buttons, shadows) was not mapped: the slot meaning
   was not read from a source, only slot 5 is proven.

Use in sysinst (src/usr.sbin/sysinst/util.c, do_coloring): default pair
black on white; where curses can_change_color(), COLOR_WHITE is redefined to
0xc6/0xb2/0xa8 (776/698/659 of 1000); measured on an xterm-256color console: sysinst sends OSC 4;7;rgb:C5/B1/A8 (curses rounding, one unit below C6/B2/A8; log build/logs/colours-xterm-2026-11-06.log).  On a console with the eight fixed colours
(wscons, vt220 over serial: no colours at all in terminfo) it stays black on
white.  Not done: the active/selected colour (needs another slot, unproven).

Note: do not screenshot the whole display of this host for this kind of
measurement -- it shows private windows.  xrdb -query and the .dp files are
enough.

Second use (2026-11-06): the menu selection and box
---------------------------------------------------
util.c do_coloring also takes slot 4 (#686f82, slate) for the selected menu line
(white text) and the menu box.  That is a design choice, not a measurement:
the role slot 4 has in CDE was not established.  The pairs are drawn by menuc
(src/usr.bin/menuc/menu_sys.def).
