in reply to Re^2: A way to validate a string as a color:
in thread Best way to validate a string as a color?

Still, Slackware's rgb.txt defines 512 unique colors (and 270 dupes). The Xorg version is identical to the Slackware version.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^3: A way to validate a string as a color:

Replies are listed 'Best First'.
Re^4: A way to validate a string as a color:
by holli (Abbot) on Oct 17, 2017 at 21:45 UTC
    In fact that file contains 162 distinct color names and 261 distinct color values.
    Also my hash doesn't include all the grays. But yes, more than in my list.


    holli

    You can lead your users to water, but alas, you cannot drown them.