79588557

Date: 2025-04-23 12:00:20
Score: 1
Natty:
Report link

or as simple as this:

Enum eRGBcolor
 color_Red = 0
 color_Green = 1
 color_Blue = 2
End Enum
Function PartRGB(RGBcolor As eRGBcolor, ByVal ColorValue&) As Long
  PartRGB = (ColorValue \ 256 ^ RGBcolor) Mod 256
End Function
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Stephan Dardaganidis