{"id":18717154,"url":"https://github.com/akascape/ctkcolorpicker","last_synced_at":"2025-05-07T14:47:59.626Z","repository":{"id":65249714,"uuid":"581237974","full_name":"Akascape/CTkColorPicker","owner":"Akascape","description":"A modern color picker made for customtkinter! (extension/add-on)","archived":false,"fork":false,"pushed_at":"2024-07-23T23:30:26.000Z","size":186,"stargazers_count":75,"open_issues_count":4,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T21:22:27.565Z","etag":null,"topics":["color-palette","color-picker","colour-picker","customtkinter","customtkinter-color-picker","python-ui","tkinter","tkinter-color-picker","tkinter-gui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akascape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-22T16:30:28.000Z","updated_at":"2025-03-12T21:25:22.000Z","dependencies_parsed_at":"2023-12-11T11:48:16.721Z","dependency_job_id":null,"html_url":"https://github.com/Akascape/CTkColorPicker","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.038461538461538436","last_synced_commit":"2030e8f7440e84ac92b58b1cd3bd61e49a144c81"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkColorPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkColorPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkColorPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkColorPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akascape","download_url":"https://codeload.github.com/Akascape/CTkColorPicker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252899407,"owners_count":21821786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-palette","color-picker","colour-picker","customtkinter","customtkinter-color-picker","python-ui","tkinter","tkinter-color-picker","tkinter-gui"],"created_at":"2024-11-07T13:15:08.440Z","updated_at":"2025-05-07T14:47:59.598Z","avatar_url":"https://github.com/Akascape.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CTkColorPicker\n**A modern color picker made for customtkinter!**\n\n![Screenshot](https://user-images.githubusercontent.com/89206401/209182773-d76bf05c-610e-4297-aec5-7bb61a11d6d3.jpg)\n\n## Download\n\n```\npip install CTkColorPicker\n```\n\n### [\u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/Akascape/CTkColorPicker?\u0026color=white\u0026label=Source%20Code\u0026logo=Python\u0026logoColor=yellow\u0026style=for-the-badge\"  width=\"300\"\u003e](https://github.com/Akascape/CTkColorPicker/archive/refs/heads/main.zip)\n\n## Requirements\n- [customtkinter](https://github.com/TomSchimansky/CustomTkinter)\n- [pillow](https://pypi.org/project/Pillow/)\n\n### How to use?\n```python\nimport customtkinter as ctk\nfrom CTkColorPicker import *\n\ndef ask_color():\n    pick_color = AskColor() # open the color picker\n    color = pick_color.get() # get the color string\n    button.configure(fg_color=color)\n    \nroot = ctk.CTk()\n\nbutton = ctk.CTkButton(master=root, text=\"CHOOSE COLOR\", text_color=\"black\", command=ask_color)\nbutton.pack(padx=30, pady=20)\nroot.mainloop()\n```\n\n## Options\n| Arguments | Description |\n|---------|-------------|\n| width | set the overall size of the color picker window |\n| title | change the title of color picker window |\n| fg_color | change forground color of the color picker frame |\n| bg_color | change background color of the color picker frame |\n| button_color | change the color of the button and slider |\n| button_hover_color | change the hover color of the buttons |\n| text | change the default text of the 'OK' button |\n| initial_color | set the default color of color picker (currently in beta stage) |\n| slider_border | change the border width of slider |\n| corner_radius | change the corner radius of all the widgets inside color picker |\n| _**other button parameters_ | pass other button arguments if required |\n\n# ColorPickerWidget\n**This is a new color picker widget that can be placed inside a customtkinter frame.**\n\n![Screenshot](https://github.com/Akascape/CTkColorPicker/assets/89206401/ca03751a-90a3-45e6-8ba4-745a92ab1c12)\n\n### Usage\n```python\nfrom CTkColorPicker import *\nimport customtkinter\n\nroot = customtkinter.CTk()\ncolorpicker = CTkColorPicker(root, width=500, command=lambda e: print(e))\ncolorpicker.pack(padx=10, pady=10)\nroot.mainloop()\n```\n\n## Options\n| Arguments | Description |\n|---------|-------------|\n| master | parent widget |\n| width | set the overall size of the color picker frame |\n| fg_color | change forground color of the color picker frame |\n| initial_color | set the default color of color picker (currently in beta stage) |\n| slider_border | change the border width of slider |\n| corner_radius | change the corner radius of all the widgets inside color picker |\n| command | add a command when the color is changed |\n| orientation | change orientation of slider and label |\n| _**other slider parameters_ | pass other slider arguments if required |\n\n**That's all, hope it will help!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fctkcolorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakascape%2Fctkcolorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fctkcolorpicker/lists"}