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


Groups > comp.lang.c > #142214

Re: [OT] turning words into colors

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.lang.c
Subject Re: [OT] turning words into colors
Date 2019-03-21 23:33 +0000
Organization Some absurd concept
Message-ID <eli$1903211921@qaz.wtf> (permalink)
References <23223ab5-54a3-4181-8bc0-bc3c55556c7f@googlegroups.com> <eli$1903201738@qaz.wtf> <87zhppxaze.fsf_-_@bsb.me.uk>

Show all headers | View raw


In comp.lang.c, Ben Bacarisse  <ben.usenet@bsb.me.uk> wrote:
> Eli the Bearded <*@eli.users.panix.com> writes:
>> #define red "zaa"
>> #define yellow "zza"
>> #define boring_darkish_blue "fir"
> Just for fun, if you have three initials or a three-letter name you can
> find your colour here:
> 
>   http://bsb.me.uk/testing/colour.php

I've got a personal webspace tool for converting hex (X11 color
specification format, so "ff/00/00" for red) into a color swatch. I've
modified it today to accept Prof Fir style color words AND to accept
HSV values based on this subthread.

https://qaz.wtf/color/

https://qaz.wtf/color/?color=ben&space=hsv-word
https://qaz.wtf/color/?color=fir&space=rgb-word

ObCompLangC: I'm using the integer HSV to RGB conversion from here:

https://stackoverflow.com/questions/3018313/algorithm-to-convert-rgb-to-hsv-and-hsv-to-rgb-in-range-0-255-for-both

It's the Leszek Szary (Feb 6 '13 at 15:46) answer, currently shown
second.

Elijah
------
now at version 3; original was circa 2001 and written in PHP4

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