Posted on 1997-09-14
I want to implement something like the box dialog box from Windows 95 you get to see when you select Color panel->screen (or something, I have a dutch version) ->Appearance>Colors
First for a custom colorable item, there appears a colorbox containing 20 (21 in case of a custom color) colors.
16 of these colors are fixed: these are the ones selectable
in Delphi (clBlack, clNavy, clMaroon and so forth).
4 of the rest can differs, depending on your active color
scheme (this are the last four: in fact they are
PaletteIndex 8 9 10 11
or PaletteIndex 9 8 10 11
Part 1 of my question: When does 9 come before 8?
(It is not only depending on the lightness)
part 2 of my question:
After pressing the Others.. button,
on the left you get a 8*6 matrix of predefined (some dithered) colors. Which RGB values do they have?
I consider this question answered if part two is answered.
An answer to part 1 would be very nice to.