For forums, blogs and more please visit our
Developer Tools Community.
By: Earl F. Glynn
Abstract: Several pages in efg's Computer Lab and Reference Library contain a number of resources about color, including examples and projects in Delphi. This article is a summary of these color resources.
Information about using color in Delphi can be found on the Delphi
Graphics Algorithms: Color page. Some of the topics
on that page include:
Information about color-related
Run Time Library (RTL) routines (e.g., ColorToRGB, GetRValue, PaletteRGB,
etc.) is on the Delphi Graphics: VCL
page in the Delphi
Several Lab Reports, complete with Delphi source code, deal with
various aspects of color:
The Gervautz-Purgathofer Octree Color Quantization algorithm was adapted from
Jeff Prosise's "Wicked
Code" in the October 1997 Microsoft Systems Journal in the
Lab Reports. (These projects only display pf24bit bitmaps in 256
color mode -- they do not convert a bitmap to pf8bit PixelFormat.)
Color Science/Color Theory
Show RGB, HSV, HLS, or CMYK Color Coordinates, Planes and Histograms
RGB / HSV
RGB / YUV
RGB or HSV Pixel Profile in Image
Select/exclude range of colors and replace with specified color
with pf24bit bitmap
Still want to know more about Color? Many more (non-Delphi) links to
color resources are on these pages:
Color Reference Library
- General Color
- Color and
Could not retrieve comments. Please try again later.
Download Delphi 10 now!
Webinars on demand!
More social media choices:
Delphi on Google+
@RADTools on Twitter
Server Response from: ETNASC04