|
-
Feb 19th, 2003, 12:32 PM
#1
Thread Starter
Member
Determine Colour Value (Level of Darkness not 16777215 for white!)
Hi,
I am trying to determine the value of a colour (any colour), so that I can tell how dark/light this colour is. Unfortunately the long value in vb ie. 16777215 for White does not tell you accurately enough if a colour is dark or light.
I want to be able to change the colour of text to white if the back colour has been selected to dark.
I have searched the web for a couple of hours now and cannot find anything. Your help would be very welcome.
Thanks
TC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|