Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #142150

Re: [content] turning words into colors

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.lang.c
Subject Re: [content] turning words into colors
Date 2019-03-20 22:37 +0000
Organization Some absurd concept
Message-ID <eli$1903201836@qaz.wtf> (permalink)
References <23223ab5-54a3-4181-8bc0-bc3c55556c7f@googlegroups.com> <eli$1903201738@qaz.wtf> <f2667f86-91f5-447b-bb81-30d1631a88be@googlegroups.com>

Show all headers | View raw


In comp.lang.c, fir  <profesor.fir@gmail.com> wrote:
> W dniu środa, 20 marca 2019 22:48:21 UTC+1 użytkownik Eli the Bearded napisał:
> > #define red "zaa"
> > #define yellow "zza"
> > #define boring_darkish_blue "fir"
> to much defining, you think i not tried it? its to much hard extremally boring
> work (as i would need to define whole palette probably over 100 carefully
> chosen colors this cost a hours of very tiremaking work, something like
> headache guaranteed)

/usr/share/X11/rgb.txt has 782 names on my system. There are a fair
number of duplicate RGB triples for say "gray50" and "grey50", but it's
still 500+ unique, 110 colorless grays (r==g && r==b) and 410 colors
(some difference between r, g, and b). It includes the entirety of the
HTML 1.0 "Web Safe Colors", a 6 bit per channel / 216 total color space.
That seems like it covers your basic color needs and limits you to
#defines only for your extra spot colors.

Elijah
------
wikipedia should have the whole list if you don't have an rgb.txt file

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 13:58 -0700
  [content] turning words into colors fir is a sexy shemale <cdalten@gmail.com> - 2019-03-20 14:12 -0700
  Re: [content] turning words into colors luser droog <luser.droog@gmail.com> - 2019-03-20 14:36 -0700
    Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 14:55 -0700
      Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:17 -0700
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:18 -0700
      Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:35 -0700
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 16:29 -0700
  Re: [content] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-20 21:48 +0000
    Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 14:58 -0700
      Re: [content] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-20 22:37 +0000
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 15:44 -0700
    Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 16:50 -0700
      Re: [content] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-21 00:17 +0000
        Re: [content] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 17:42 -0700
    Re: [OT] turning words into colors Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-21 01:38 +0000
      Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 19:06 -0700
        Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-20 19:39 -0700
          Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-21 08:30 -0700
      Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-21 03:44 -0700
        Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-21 03:53 -0700
      Re: [OT] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-21 23:33 +0000
        Re: [OT] turning words into colors Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-22 01:14 +0000
          Re: [OT] turning words into colors Eli the Bearded <*@eli.users.panix.com> - 2019-03-22 19:43 +0000
            Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 13:31 -0700
        Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 01:31 -0700
          Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 01:56 -0700
            Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 02:11 -0700
              Re: [OT] turning words into colors fir <profesor.fir@gmail.com> - 2019-03-22 06:59 -0700

csiph-web