![]() |
![]() |
![]() |
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 ©2019 Angus Johnson - Image32 ver. 2.22 - Documentation last updated on 3-April-2021