Skip to main content

A modern color picker for customtkinter

Project description

CTkColorPicker

A modern color picker made for customtkinter!

Screenshot

Download

pip install CTkColorPicker

GitHub repo size

Requirements

How to use?

import customtkinter as ctk
from CTkColorPicker import AskColor

def ask_color():
    pick_color = AskColor() # Open the Color Picker
    color = pick_color.get() # Get the color
    button.configure(fg_color=color)
    
root = ctk.CTk()

button = ctk.CTkButton(master=root, text="CHOOSE COLOR", text_color="black", command=ask_color)
button.pack(padx=30, pady=20)
root.mainloop()

Thats all, hope it will help!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CTkColorPicker-0.3.0.tar.gz (120.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

CTkColorPicker-0.3.0-py3-none-any.whl (119.8 kB view details)

Uploaded Python 3

File details

Details for the file CTkColorPicker-0.3.0.tar.gz.

File metadata

  • Download URL: CTkColorPicker-0.3.0.tar.gz
  • Upload date:
  • Size: 120.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for CTkColorPicker-0.3.0.tar.gz
Algorithm Hash digest
SHA256 77c1356e29a70562bb5470041d25d74186db042b4b33895d976f57f049e72ae3
MD5 5e2fa7d49672c575fb3695ab873b04cf
BLAKE2b-256 8b4a1d49d91952eb6e39e4e19a0c36fe357cae3fbe457ac7e38551e5dc53aa38

See more details on using hashes here.

File details

Details for the file CTkColorPicker-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: CTkColorPicker-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 119.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for CTkColorPicker-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cec6c4f3cc22153dd9b834b16ddda293fe6a94a115e2994435737839dc849172
MD5 8cfca1018713be12e2b56cbe5fc95a62
BLAKE2b-256 98043f0e7eec6f6970e2126459b3486ba703fd4f78790320fc036b589357f01f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page