A computer breaks down an image into tiny elements called pixels. Each pixel is represented by a binary value (0 or 1). The number of bits used determines the colour depth, with more bits allowing for more colours.