More details can be found in the online help pages.
SDLColors | ![]() |
colorcalc.zip
(227 kB) |
What's new:
- Release 10.7 [Aug-24, 2020]
- the procedures ColorToHSV, HSVtoColor, HSVtoRGB and RGBtoHSV provide conversion routines for the HSV color system
- the procedures ColorToHSL and HSLtoColor convert between TColor and the HSL color model
- the procedures HSLtoRGB and RGBtoHSL convert between HSL and RGB color space
- the functions HSItoColor and ColorToHSI transform a HSI color to the (RGB) TColor and vice versa
- the new method LogTransform allows to create a logarithmic color scale
- the new method TColorArray.ReverseRGB reverses the RGB order
- the new methods TColorArray.Backup and TColorArray.Restore provide a simple backup and restore capability
- Release 10.6 [Mar-09, 2018]
- the constant array AllSDLColors contains all colors declared in the SDL Component Suite
- the constant array AllSDLColorNames contains the names of all colors declared in the SDL Component Suite
- the function ObtainColorName returns the name of a color
- Release 10.5 [Oct-10, 2016]
- no changes
- Release 10.4 [Jun-02, 2015]
- the functions ColorToHexStr and HexStrToColor convert colors into a hexadecimal string and vice versa
- the class TColorArray offers now several new methods: Fill, InvertColors, MirrorColors
- bug fix: InvertColor returned a wrong color
- Release 10.3 [Oct-06, 2014]
- predefined color arrays extended by a high contrast geographic color array and a color array designed to support people suffering from color perception deficiencies
- the new function ColorToGray converts colors to gray values
- a few additional colors declared (clCrimson, clRebeccaPurple, clMagenta)
- the list of X11 colors has been combined into the array X11Colors
- the new methods TColorArray.ReadFromOpenTextFile and WriteToOpenTextFile allow to read and write an already open color file
- Release 10.2 [May-30, 2013]
- no changes
- Release 10.1 [Oct-29, 2012]
- color array ColorArray_Contrast defined
- the new function TColorArray.IsEqual compares two color arrays
- Release 10.0 [Oct-4, 2011]
- method TColorArray.Assign implemented
- new function MeanColor for averaging two colors
- Release 9.7 [May-31, 2010]
- no changes
- Release 9.51 [Dec-01, 2008]
- no changes
- Release 9.5 [Oct-31, 2008]
- new component TColorArray supports the handling of arrays of colors
- new function RGBColorDistance calculates the distance between two colors.
- new functions RGBtoGrayColor and ColorToGrayColor implemented
- new function WavelengthToColor calculates the color associated with a particular wavelength of light
- Release 9.0 [May-28, 2007]
- no changes
- Release 8.5 [Feb-18, 2006]
- new function Interpolate3Colors implemented
- Release 8.2 [Nov-03, 2004]
- new function RGBtoGray implemented
- Release 8.1 [Aug-29, 2004]
- available for Delphi™ 8 for .NET
- Release 8.0 [Apr-01, 2004]
- SDLColors is now available to the public