Solved

Screen->Appearance->Colors

Posted on 1997-09-14
2
152 Views
Last Modified: 2010-04-04
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.


0
Comment
Question by:miauw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
mirek071497 earned 80 total points
ID: 1344831
When you click on the 8x6 matrix you can read RGB values for them. This is displayed in the right buttom corner

I write this values for the 1 row
(255,128,128),(255,255,128),(128,255,128),(0,255,128),(128,255,255),(0,128,255),(255,128,192),(255,128,255)

Why this values not others ? This is from algorithm for calculating saturation(i don't remember name but probably HSE algoritm). I have not now this algoritm, but if you need i can find this.

0
 

Author Comment

by:miauw
ID: 1344832
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?


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question