Link to home
Start Free TrialLog in
Avatar of miauw
miauwFlag for Netherlands

asked on

Screen->Appearance->Colors

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.


ASKER CERTIFIED SOLUTION
Avatar of mirek071497
mirek071497

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of miauw

ASKER

Thanks Mirek.
I totally overlooked it. But have been looking to long
to the screen.

Do you have the answer for the first part as well?