D
Douglas J. Steele
I think you'll find that 4562566 isn't Red.
Convert that value to Hex and you should get 459E86. The first 2 digits (Hex
45, or Decimal 69) are the Blue value, the next 2 digits (Hex 9E, or Decimal
158) are the Green value, and the last 2 digits (Hex 86, or Decimal 134) are
the Red value, so that's RGB(134, 158, 69).
You can calculate those values as:
?4562566 And 255
134
?4562566\256 And 255
158
?4562566\256 ^ 2 And 255
69
or
?4562566 And &HFF&
134
?(4562566 AND &HFF00&) \ &H100&
158
?(4562566 And &HFF0000&) \ &H10000&
69
Convert that value to Hex and you should get 459E86. The first 2 digits (Hex
45, or Decimal 69) are the Blue value, the next 2 digits (Hex 9E, or Decimal
158) are the Green value, and the last 2 digits (Hex 86, or Decimal 134) are
the Red value, so that's RGB(134, 158, 69).
You can calculate those values as:
?4562566 And 255
134
?4562566\256 And 255
158
?4562566\256 ^ 2 And 255
69
or
?4562566 And &HFF&
134
?(4562566 AND &HFF00&) \ &H100&
158
?(4562566 And &HFF0000&) \ &H10000&
69