P
PeterM
I have an AC2003 database that has a textbox with a backcolor. I need to
dynamically change the backcolor value to a lighter shade of the textboxes
current backcolor. After playing with the colorpicker in Access, I noticed
that the Hue and Sat values remain constant, however the Lum increases when
the shade gets lighter. I know how to specify the RGB values to determine
the access color value. For example RGB(255,0,0) equals 255 for red and
RGB(255,255,0) equals 65535 for yellow. I have a subroutine that converts
any backcolor value to it's RGB equivalent. Since the users can specify the
backcolor value I need a routine to determine the lighter shade because of
the various colors the user can specify.
Is there a method or procedure to determine the lighter shade of the color?
I tried doing a search on LUM or SAT or HUE and got nowhere.
Thanks!
dynamically change the backcolor value to a lighter shade of the textboxes
current backcolor. After playing with the colorpicker in Access, I noticed
that the Hue and Sat values remain constant, however the Lum increases when
the shade gets lighter. I know how to specify the RGB values to determine
the access color value. For example RGB(255,0,0) equals 255 for red and
RGB(255,255,0) equals 65535 for yellow. I have a subroutine that converts
any backcolor value to it's RGB equivalent. Since the users can specify the
backcolor value I need a routine to determine the lighter shade because of
the various colors the user can specify.
Is there a method or procedure to determine the lighter shade of the color?
I tried doing a search on LUM or SAT or HUE and got nowhere.
Thanks!