Python Forum
RGB() <> colorchooser.askcolor
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RGB() <> colorchooser.askcolor
#8
Then you will want to get the individual red, green, blue components of the color and use them with the windows RGB color macro. This is the recommendation when using SetSysColors (winuser.h).
You do not want to send the Python color directly.

32 bit color values are meaningless without context. Just like 32bit integer values, or floats, or any multi-byte data.
Reply


Messages In This Thread
RGB() <> colorchooser.askcolor - by KennethHobson - Aug-24-2022, 04:20 PM
RE: RGB() <> colorchooser.askcolor - by Yoriz - Aug-24-2022, 04:41 PM
RE: RGB() <> colorchooser.askcolor - by Gribouillis - Aug-24-2022, 05:05 PM
RE: RGB() <> colorchooser.askcolor - by deanhystad - Aug-24-2022, 05:17 PM
RE: RGB() <> colorchooser.askcolor - by deanhystad - Aug-24-2022, 05:37 PM
RE: RGB() <> colorchooser.askcolor - by woooee - Aug-24-2022, 06:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Open tkinter colorchooser at toplevel (so I can select/focus on either window) tabreturn 4 2,184 Jul-06-2022, 01:03 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020