This is not very good Hashing method. Something like this would be much better:
```csharp
return (int)R<<24|(int)G<<24|(int)B<<24|(int)A<<24;
```