Quote:
Do you really need the R,G,B values and what for ?
You can use a variable for the color, like col
|
I have more purpose. I need RGB to edit and create sprites and bitmaps.
I want to get a good knowledge of computer graphics

Quote:
You can convert a color to RGB with:
Code:
Dim Type (R,G,B) clr
clr() = GetRGB(Bitmap.GetPixel1(x,y))
Msgbox("Red=" & clr.R & " Green=" & clr.G & " Blue=" & clr.B)
|
Thanks Specci I should have thought of it myself. Probably I've spent too much time at my comp today
