shift() - get a darker/lighter shade of a #hex color. Needs cutoff() and both hex functions to run.
function shift($hexcode="#ffffff",$proc=0.3) {    $rgb = hex_to_rgb($hexcode);         //color shift    $rgb['r'] = cutoff($rgb['r'] + $proc,0,1);    $rgb['g'] = cutoff($rgb['g'] + $proc,0,1);    $rgb['b'] = cutoff($rgb['b'] + $proc,0,1);          return rgb_to_hex($rgb); //result color }








