in Delphi TIPS :: 
In Delphi, the TColor type is used to specify the color of an object. It is used by the Color property of many components and by a number of other properties that specify color values.
The Graphics unit contains definitions of useful constants for TColor. For example, clBlue maps to blue, clRed maps to red.
Read the full article to learn Convert RGB to TColor.
Related


Zarko, thanks for all the great work you do at About.com.
There is a minor error in the article “Convert RGB to TColor…”
You mention that a byte can hold a value from 0 to 256. A byte actually holds a value from 0 to 255, which is 256 distinct values. An easy mistake.
Thanks again for all your hard work.
Cheers
Eddie
Eddie, spotted. Fixed. Thanks