07-16-2003, 01:39 PM
07-16-2003, 10:25 PM
If you're looking for regular Red, Green, and Blue values for colors then you could use something like this:
In the code above, colornumber would be the integer 0 - 255 for the color slot you want to find the values of. r%, g%, and b% are the integer values of the RGB values, a number 0 - 63.
Is this what you're looking for?
Code:
OUT &H3C7, colornumber
r% = INP(&H3C9)
g% = INP(&H3C9)
b% = INP(&H3C9)
In the code above, colornumber would be the integer 0 - 255 for the color slot you want to find the values of. r%, g%, and b% are the integer values of the RGB values, a number 0 - 63.
Is this what you're looking for?
07-17-2003, 12:25 AM
Yep, exactly. Thanks a lot... And welcome to QBNews.