Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colours

Status
Not open for further replies.

Tipidy

Programmer
Feb 22, 2007
4
AU
Hey all,

I have a question, I have been teaching myself Delphi 6 in the last couple of days. I don't like the default colours that Delphi 6 uses. I know I can change the colours in the code, the problem is where can I get a freeware colour picker for programmer's.

Thanks in advance.
--Tipidy
 
To elaborate on Glenn9999's answer, it's best to leave colours as they are for the most part because users generally want the applications they run to look the way they want (case in point). If you want to change the colours you see in Delphi, perhaps just change your Window's colours via the Display properties in the Control Panel.
 
If you are simply saying that the default TColor values defined in the Graphics unit are not to your taste then you can construct your own by using,
(a) the RGB function
Code:
myWhite := RGB(255, 255, 255);
OR

(b) the hexadecimal representation of the colour
Code:
myWhite := TColor($FFFFFF);
For your information myWhite is a variable of type TColor.

The link Glenn gave is a good one. Also, check out the following sites, which I've found useful as colour pickers/combination choosers:

Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Thank you all for your advice, I really appreciate it ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top