Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 13758, Spectrum Colors

by Earl F. Glynn Email:

Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 3.0  to 4.0 556 downloads
Copyright: Commercial use requires permission

Size: 228,108 bytes
Updated on Fri, 13 Aug 1999 00:00:00 GMT
Originally uploaded on Fri, 13 Aug 1999 00:00:00 GMT
SHA1 Hash: 8C4822C4FEC6C392843A51980C9E9296AA974489
MD5 Hash: 490880AE45453E3B9CC10CBDCA5418F0

    Explore the files in this upload

This program displays RGB colors as a function of wavelength for visible light (380 to 780 nm). A secondary purpose of this program is to display the emission and absorption spectra of hydrogen. The upper and lower wavelength limits for the spectrum can be interactively specified, and interval marks can be displayed if desired. A spectrum can be printed or saved to a 24-bit color BMP file.

The WaveLengthToRGB function in the SpectraLibrary.PAS unit will be very useful in assigning colors to visible wavelengths of light

For additional details see the "Lab Report" at

Keywords: Visible Light Spectrum, Hydrogen Emission Spectrum, Hydrogen Absorption Spectrum, WavelengthToRGB function, TChart, Scanline, TRGBArray, Print BMP, StretchDIBits, OnMouseMove, GetRValue, GetGValue, GetBValue

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04