
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
ctk-colorpicker-plus
Advanced tools
Enhanced CustomTkinter color picker widget with bug fixes, hex input, and improved reticle/slider behavior.
An extended and modernized color picker for CustomTkinter, featuring both a modal dialog and embeddable widget with a color wheel, brightness slider, and hex entry.
Forked from the original CTkColorPicker by Akash Bora (Akascape) — with bug fixes, enhancements, and new features.
AskColor
— modal dialog for picking a colorCTkColorPicker
— embeddable widget for your layouts#fff
) or full (#ffffff
) hex valuesruff
/black
formattedFrom PyPI (once published):
pip install ctk-colorpicker-plus
Until then, install from GitHub:
pip install git+https://github.com/calusasoft/ctk-colorpicker-plus.git
import customtkinter
from ctk_colorpicker_plus import AskColor
customtkinter.set_appearance_mode("light")
root = customtkinter.CTk()
def pick_color():
dialog = AskColor(initial_color="#ff0000")
color = dialog.get()
if color:
print(f"Selected: {color}")
btn = customtkinter.CTkButton(root, text="Pick a color", command=pick_color)
btn.pack(pady=20)
root.mainloop()
import customtkinter
from ctk_colorpicker_plus import CTkColorPicker
def on_color_change(hex_color: str):
print(f"Color changed: {hex_color}")
root = customtkinter.CTk()
picker = CTkColorPicker(root, command=on_color_change)
picker.pack(padx=20, pady=20)
root.mainloop()
ctk_colorpicker_plus/
__init__.py
ctk_color_picker.py # Modal dialog
ctk_color_picker_widget.py # Embeddable widget
color_utils.py # Shared color math and helpers
color_wheel.png
target.png
examples/
demo.py
Install dependencies:
pip install customtkinter Pillow
This project is released under the MIT License.
Attribution: Based on CTkColorPicker by Akash Bora (Akasacape), originally released under CC0.
FAQs
Enhanced CustomTkinter color picker widget with bug fixes, hex input, and improved reticle/slider behavior.
We found that ctk-colorpicker-plus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.