Unit 5-255 and RGB

I am going theough unit 5, Lesson 6 for the first time, and there was a mention in the video at the end of the lesson about binary and numbers that with 4 wires, you can store numbers from 0-255. Does this have anything to do with 255 being the max number for RGB in coding, or is it just a coincidence? Any insights appreciated.

I wish I knew the answer to your question. I looked up a few things and came across this video. The second half of it, I believe addresses your question.