public void SetRGB(uint Params24) { //Console.WriteLine(Params24); Red = ((float)((Params24 >> 0) & 0xFF)) / 255.0f; Green = ((float)((Params24 >> 8) & 0xFF)) / 255.0f; Blue = ((float)((Params24 >> 16) & 0xFF)) / 255.0f; }