Tkinter color names/codes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Seale

    Tkinter color names/codes

    I just happend to notice that there are very FEW colors that you have to
    generate using #hex codes. But I was wondering, how many colors have names
    assigned to them in Tkinter and what are their #hex translations? It'd be
    nice to know these so I don't accidentally create a color that already has
    a name.
  • Nuff Said

    #2
    Re: Tkinter color names/codes

    On Mon, 19 Jan 2004 20:39:18 +0000, Jeff Seale wrote:
    [color=blue]
    > I just happend to notice that there are very FEW colors that you have to
    > generate using #hex codes. But I was wondering, how many colors have names
    > assigned to them in Tkinter and what are their #hex translations? It'd be
    > nice to know these so I don't accidentally create a color that already has
    > a name.[/color]


    - list with all named colors in Tcl/Tk


    - W3C names, hex codes and Tcl/Tk names for the
    16 HTML 3.2 colors (i.e. the basic VGA set)

    HTH / Nuff

    Comment

    • Jeff Seale

      #3
      Re: Tkinter color names/codes

      Nuff Said <nuffsaid@phrea ker.net> wrote in
      news:pan.2004.0 1.19.21.06.17.9 57950@phreaker. net:
      [color=blue]
      > On Mon, 19 Jan 2004 20:39:18 +0000, Jeff Seale wrote:
      >[color=green]
      >> I just happend to notice that there are very FEW colors that you have
      >> to generate using #hex codes. But I was wondering, how many colors
      >> have names assigned to them in Tkinter and what are their #hex
      >> translations? It'd be nice to know these so I don't accidentally
      >> create a color that already has a name.[/color]
      >
      > http://wiki.tcl.tk/8606
      > - list with all named colors in Tcl/Tk
      >
      > http://wiki.tcl.tk/colors
      > - W3C names, hex codes and Tcl/Tk names for the
      > 16 HTML 3.2 colors (i.e. the basic VGA set)
      >
      > HTH / Nuff
      >[/color]

      Is it possible to translate all those colors into their #hex combinations?
      The ones I know about already are Red #FF0000, Yellow #FFFF00, Green #
      00FF00, Cyan #00FFFF, Blue #0000FF, Magenta #FF00FF, White #FFFFFF and
      Black #000000.

      Comment

      • Cameron Laird

        #4
        Re: Tkinter color names/codes

        In article <Xns9478E236A5D 3Fjseale18insig htbbcom@204.127 .204.17>,
        Jeff Seale <jseale18@insig htbb.com> wrote:[color=blue]
        >Nuff Said <nuffsaid@phrea ker.net> wrote in[/color]

        Comment

        • Cameron Laird

          #5
          Re: Tkinter color names/codes

          In article <1012mti57i1nsa 5@corp.supernew s.com>, I confused matters with:

          Comment

          Working...