/usr/local/php/color.php #@ #@ color manipulation functions: (the following color parameters are in the hexadecimal form RRGGBB) #@ #@ function rgb_compliment(color) - returns the compliment of the passed color. #@ #@ #@ rgb_grayscale(color) - returns the grayscale equivelent of the passed color. #@ #@ #@ rgb_brighten(color,value) - brighten the passed color by a value. #@ #@ #@ rgb_saturate(color,value) - increase saturation of a color by a value. #@ #@ #@ rgb_rotate(color,degree) - rotate the color (around the hsv color space wheel) by a given degree. #@ #@ #@ rgb_left_neighbor(color) - returns the colors left neighbor. #@ #@ #@ rgb_right_neighbor(color) - returns a colors right neighbor. #@ |