The task is the following:
If the color depth is less than 8 bit, then the component values must be scaled up, i.e., be multiplied by an appropriate powe