GetRValue function Null safety

int GetRValue(
  1. int rgb
)

Retrieves an intensity value for the red component of a red, green, blue (RGB) value.

Implementation

//
// #define GetRValue(rgb)      (LOBYTE(rgb))
int GetRValue(int rgb) => LOBYTE(rgb);