I was told by an Expert how to get the RGB color of an Excel cell using the following VBA code
What is the difference between the ARGB color in VB.net and the RGB color in Excel VBA?
Dim lColor As Long
lColor = Selection.Interior.Color
MsgBox "Red: " & lColor Mod 256 & vbCrLf & _
"Green: " & Int(lColor / 256) Mod 256 & vbCrLf & _
"Blue:" & Int(lColor / 256 ^ 2) Mod 256