function RainbowColor(frac: double): TColor32;
This function returns a color in the rainbow spectrum based on frac (assuming it's between 0.0 & 1.0). If frac is outside that range the return color will be clRed32.
Rainbow colors progress from:
clRed32 |
clYellow32 |
clLime32 |
clAqua32 |
clBlue32 |
clFuchsia32 |
clRed32 |
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025