The TS_PALETTE_ENTRY structure is used to express the red, green and blue components necessary to reproduce a color in the additive RGB space.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_8_1_1_3_1_1_1.xml
        /// <summary>
        /// Parse TS_PALETTE_ENTRY
        /// (parser index is updated according to parsed length)
        /// </summary>
        /// <param name="data">data to be parsed</param>
        /// <param name="currentIndex">current parser index</param>
        /// <returns>TS_PALETTE_ENTRY</returns>
        private TS_PALETTE_ENTRY ParseTsPaletteEntry(byte[] data, ref int currentIndex)
        {
            TS_PALETTE_ENTRY entry = new TS_PALETTE_ENTRY();

            // TS_PALETTE_ENTRY: red
            entry.red = ParseByte(data, ref currentIndex);

            // TS_PALETTE_ENTRY: green
            entry.green = ParseByte(data, ref currentIndex);

            // TS_PALETTE_ENTRY: blue
            entry.blue = ParseByte(data, ref currentIndex);

            return entry;
        }