# Why are the vote counts for comments colored sometimes?

Pardon me if this is a silly question, but I have noticed that the little number displaying the number of votes on each comment is sometimes colored. I'm guessing the color is based on the number of votes, but is there a specific rule for this?

Here is a related question. In the comments to that question is a link to the code for the coloring of comments.

Later in the comments, it is mentioned that the coloring is dynamic. That means that there are no set cutoffs for what number gets what color.

• I am tempted to run an experiment. Post 255 indexed comments and get each comment to be voted as its index.
– Asaf Karagila Mod
May 8 '14 at 14:22
• @AsafKaragila I'd participate! :p May 8 '14 at 14:57
• The experiment has begun, @anorton May 8 '14 at 15:03
• @Daniel: There's not enough people on meta, and it will be very easy to screw around this by voting comments past their indicated index.
– Asaf Karagila Mod
May 8 '14 at 15:06
• Ideally, such an experiment would consist of 255 comments, all consisting of a single natural number, followed by ${}{}{}$. Then, each comment would be voted to the target natural number. You can't do this with just "normal" comments, because overshooting would be too easy. May 8 '14 at 15:16
• @anorton: Obviously, but it is still easy to screw up by people who want to ruin it for no good reason.
– Asaf Karagila Mod
May 8 '14 at 16:49
• @asaf True. I guess it's just not worth it... May 8 '14 at 16:50
• We're going to need an 11th one soon :) May 13 '14 at 21:37