Code:
Option Explicit
Dim Color As Long
Dim Red As Byte
Dim Green As Byte
Dim Blue As Byte
Color = Picture1.Point(X, Y)
Red = Color And &HFF
Green = (Color And &HFF00&) \ &H100&
Blue = (Color And &HFF0000) \ &H10000
Msgbox Red & "//" & Green & "//" & Blue
|
__________________
Burn the land and boil the sea
You can't take the sky from me
~T
|