protected uint ColorToValue(byte r, byte g, byte b, KeyboardLedPosition position) { return((uint)(0xf0000000 + (b << 16) + (r << 8) + g) + (uint)position); }
public void SetColor(byte r, byte g, byte b, KeyboardLedPosition position) { _Clevo.RunMethod(_MethodName, ColorToValue(r, g, b, position)); }