This exercise says that each of the three color values within the hex and decimal representations can have 256 values. However, I thought the highest color value within the rgb system was 255. Was this a typo?


#1

Question

This exercise says that each of the three color values within the hex and decimal representations can have 256 values. However, I thought the highest color value within the rgb system was 255. Was this a typo?

Answer

You are correct in that the highest color value is 255. However, remember that the color values start at 0 which means that there are actually 256 values for each color component.