ACASystems.com: Provide state-of-the-art image capture, screen capture, video capture and audio capture software
Provide state-of-the-art image capture, screen capture, video capture and audio capture software
Download ACA Capture Pro - professional screen capture software
Home Download Buy Now Partners Contact    
 » Home > ACA Color Picker > FAQ > Delphi TColor

What's Delphi TColor format?

In Delphi, colours are generally represented by a TColor, a hexadecimal number in 4 bytes. The internal format of TColor can have five formats:

  1. $00bbggrr -- Create using the RGB function
  2. $010000nn -- Create using the PaletteIndex function
  3. $02bbggrr -- Create using the PaletteRGB function
  4. $800000nn -- Defined in Graphics.PAS using Windows constants COLOR_SCOLLBAR, etc. These negative values must be passed to the ColorToRGB function to have R, G and B components defined.
  5. $FFFFFFFF -- If you create a TBitmap and do not define its height and width, the Pixels value will be -1 ($FFFFFFFF) and may cause range-check errors.

ACA Color Picker Supports for Delphi TColor format

ACA Color Picker supports for capturing the color value of any screen pixel and displays its value in Delphi TColor format, you can use it on your delphi source code. To apply this feature, please do following steps:

  1. Launch ACA Color Picker. If you have not installed ACA Color Picker on your computer, please click here to free download the setup file, and then install it.
  2. Select Hex: Delphi on Format option. the Color List will show the picked colors in Delphi TColor format, as it is shown in the following figure:

ACA Color Picker Supports for WINAPI color code

Free Trial ACA Color Picker Now | Buy ACA Color Picker Now

See Also

WinAPI Color References

  • TColor at efg2.com: Delphi TColor
  • ACA Systems
            Screenshot
            Free Download
            FAQ
            History
        » FAQ
        » Maillist

    Support
    Any Question? Leave a message

    Maillist
    Would you like be notified of all future news & updates regarding our products? Please enter your E-mail to join the mailing list!

    Join Remove