Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-02

Get RGB Color with TColor

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ryo T

How to get Red, Green, Blue value with TColor
(TColorDialog object) in Delphi ?

==============
12y0
The ~'S'~

__________________________________________________ Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Mattias Gaertner
to Ryo T
How to get Red, Green, Blue value with TColor (TColorDialog object) in Delphi ?

Myabe the same as in Lazarus:

Red:=Graphics.Red(ColorDialog.Color);
Green:=Graphics.Green(ColorDialog.Color);
Blue:=Graphics.Blue(ColorDialog.Color);

or

RedGreenBlue(ColorDialog.Color,Red,Green,Blue);

Mattias