Solved

Screen->Appearance->Colors

Posted on 1997-09-14
2
147 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert wav to mp3 in delphi 9 169
Delphi Mdi application Child forms get behind control 7 154
Working with hours 3 46
JAudiorecorder record freezing the app 29 59
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now