I have a customer requirement as follows:
Given an HTML hex color (i.e. #FFFF66), I need to be able to progressively lighten or darker (based on boolean parameter) this color by exactly 5% with each iteration of a loop.
The basic idea is to be able to display a list of items (max=25) where the first item is associated with a an arbitrary base hex color and each of the remaining items will be progressively assigned a color that has been lightened/darkened by exactly 5%.
I will pay half upon delivery of the code and the balance upon verification of the results.