-8bits is equivalent yo 1 byte
-bit is(0 or 1)
So each pixel requires 3 bytes
Primary colors are RGB(red,green and blue),so each color represent one byte.
The frame size is:
1280×1024=1310720 pixels
So that the frame contained 1310720 pixels
The size of the frame buffer is equal to the product of RGB and frame pixels:
=3 × 1310720
=3932160 bytes