473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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.
Jul 18 '05 #1
4 12009
On Mon, 19 Jan 2004 20:39:18 +0000, Jeff Seale wrote:
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.


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
Jul 18 '05 #2
Nuff Said <nu******@phreaker.net> wrote in
news:pa****************************@phreaker.net:
On Mon, 19 Jan 2004 20:39:18 +0000, Jeff Seale wrote:
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.


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


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.
Jul 18 '05 #3
In article <Xn**********************************@204.127.204. 17>,
Jeff Seale <js******@insightbb.com> wrote:
Nuff Said <nu******@phreaker.net> wrote in

Jul 18 '05 #4
In article <10*************@corp.supernews.com>, I confused matters with:
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Stewart Midwinter | last post by:
I would like to link the contents of three OptionMenu lists. When I select an item from the first list (call it continents), the contents of the 2nd list (call it countries) would update. And in...
2
by: Paul A. Wilson | last post by:
I'm new to Tkinter programming and am having trouble creating a reusable button bar... I want to be able to feed my class a dictionary of button names and function names, which the class will make....
5
by: Ali | last post by:
I was wondering how one would go about displaying unicode in a Label object in a Tkinter window. I am trying to display text in another language. Please help.
7
by: Justin Ezequiel | last post by:
What font is Tkinter using for displaying utf-8 characters? On my Windows XP, most of the characters with names (unicodedata.name) are displayed WYSIWYG. However, on my Mandrake (warning: Linux...
7
by: Harlin Seritt | last post by:
I was looking at the Tcl/Tk sourceforge page and found that there were a couple of new widgets being produced for Tcl 8.5. Does anyone know if there are any Tkinter wrappers somewhere? thanks, ...
8
by: Dustan | last post by:
I'm trying to get a scrollbar bound with a Frame, and I keep on getting a scrollbar, but it doesn't actually scroll. Some help, please?
5
by: H J van Rooyen | last post by:
Hi, I am struggling to get the pack method to do what I intend. I am trying to display user input in a seperate window, along with a little description of the field, something like this: ...
1
by: nish88 | last post by:
hi to all... i'm working on an animation where i have to make the picture background.gif transparent. l'm not able to do it.can you please help me or tell me what codes i should add to make the...
8
by: akineko | last post by:
Hi everyone, This is a memorandum so that other people can share the info. The following methods are declared in the Tkinter Button class. tkButtonDown(), tkButtonEnter(), tkButtonInvoke(),...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.