JPEG RGB values are different when exporting from illustrator
Today I noticed when I exported a JPEG image from Illustrator in an RGB file, the JPEG did not give the same RGB values. For example, the illustrator board had RGB of 255, 0, 0 value and the JPEG had 254, 0, 0 value. I tried a few methods I found on YouTube but none worked for me. Following are the example images to show the difference. Can someone expert explain this to me, please? 

