1. Computing & Technology

Discuss in my forum

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

Comments
April 30, 2007 at 10:19 am
(1) Eddie Lotter :

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

May 1, 2007 at 3:17 am
(2) Zarko Gajic :

Eddie, spotted. Fixed. Thanks :)

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Related Searches delphi

©2012 About.com. All rights reserved.

A part of The New York Times Company.