Trying to decipher how RGB values calculate integer values
I’m currently looking at some really old legacy code that unfortunately doesn’t have any documentation/comments. I have a palette file that contains rgb values in a comma separated file, and integers that are calculated from those values. I’m unable to determine how those integers are calculated.