Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Screen->Appearance->Colors

Posted on 1997-09-14
2
Medium Priority
?
153 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 160 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

715 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