Winaccent
A simple and lightweight Python module for easily retrieving Windows' accent color, including shades, specific window chrome colors and theme. Supports Windows 8.x, 10 and 11 and doesn't require additional dependencies.
Install / Use
/learn @Valer100/WinaccentREADME
A simple and lightweight Python module for easily retrieving Windows' accent color, including shades, specific window chrome colors such as active/inactive titlebar and window borders and theme. Supports Windows 8.x, 10 and 11 and doesn't require additional dependencies.
📦 Installation
Run this command in your terminal:
pip install winaccent
To update the module, run this command:
pip install --upgrade winaccent
📝 Requirements
- Windows 8.0 or newer
- Python 3.6 or newer
📜 Documentation
The documentation is available here.
💻 Demo
To see a demo, run the following command in your terminal (winaccent must be installed):
python -m winaccent
This command has an optional --mode argument. It can take the following values:
| Value | Info | |:------|:-----| | gui | Shows a GUI demo. The GUI demo responds to accent color changes. | | console | Shows a console demo. The console demo does not respond to accent color changes. | | auto | If tkinter is installed and works correctly, a GUI demo will be shown. If that's not the case, a console demo will be shown. |
Example usage:
python -m winaccent --mode gui
The command will run with --mode set to auto by default.
| Windows 11 | Windows 10 | Windows 8.x |
|:--------------:|:--------------:|:---------------:|
|
|
|
|
Accent palette
==============
accent_light_3: #99EBFF
accent_light_2: #4CC2FF
accent_light_1: #0091F8
accent_normal: #0078D4
accent_dark_1: #0067C0
accent_dark_2: #003E92
accent_dark_3: #001A68
Window chrome
=============
is_titlebar_colored: False
titlebar_active: #F3F3F3
titlebar_active_text: #000000
titlebar_inactive: #F3F3F3
titlebar_inactive_text: #929292
window_border_active: #757575
window_border_inactive: #757575
Start Menu
==========
is_start_menu_colored: False
start_menu: #242424
Taskbar
=======
is_taskbar_colored: False
taskbar: #1C1C1C
UI Appearance
=============
transparency_effects_enabled: True
apps_use_light_theme: False
system_uses_light_theme: False
Other colors
============
accent_menu: #0078D4
</details>
🤩 Feedback
If you found a bug or want to make a suggestion, open a new issue. If you're ready to add a new feature or fix a bug, pull requests are welcome.
If you found this module useful, please consider starring this repository.
Related Skills
claude-opus-4-5-migration
109.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
349.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
51.0k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
