qbasicking
Programmer
I want to make the background behind a window be in a shadow. I was at first just going to use gray, but different colours look different when they are darkened. This is how I was planning on going about finding out what colour was in the background.
First GET the pixils all the way around it then figuring out there colour by using the numberic value of the variable, but I realized that black and gray both have the value 0, how can I distinguish between them? Also is there a better way to do this?
I'll post the values for they might help someone else doing the same thing.
black = 0
blue = 1.79362E-43
green = 4.591775E-41
teal = 4.609711E-41
red = 1.175494E-38
magenta = 1.175512E-38
brown = 1.180086E-38
silver = 1.180104E-38
gray = 0
lt blue = -1.793662E-43
lt green = -4.591775E-41
lt teal = -4.609711E-41
lt red = -1.175494E-38
yellow = -1.180086E-38
white = -1.180104E-38
First GET the pixils all the way around it then figuring out there colour by using the numberic value of the variable, but I realized that black and gray both have the value 0, how can I distinguish between them? Also is there a better way to do this?
I'll post the values for they might help someone else doing the same thing.
black = 0
blue = 1.79362E-43
green = 4.591775E-41
teal = 4.609711E-41
red = 1.175494E-38
magenta = 1.175512E-38
brown = 1.180086E-38
silver = 1.180104E-38
gray = 0
lt blue = -1.793662E-43
lt green = -4.591775E-41
lt teal = -4.609711E-41
lt red = -1.175494E-38
yellow = -1.180086E-38
white = -1.180104E-38