Skip to main content

A simple module for getting Windows' accent color

Project description

winaccent

A simple module for getting Windows' accent color. With this module you can get both light and dark mode accent colors.

Installation

Run this command in your terminal:

pip install winaccent

Documentation

Variable Info
winaccent.accent_light Returns the light mode accent color
winaccent.accent_dark Returns the dark mode accent color
winaccent.accent_normal Returns the normal accent color
winaccent.accent_auto Returns the light/dark accent color depending on the system theme

Output

Here is the output for the default (blue) accent color on Windows 11:

Variable Color Preview
winaccent.accent_light #0067C0
winaccent.accent_dark #4CC2FF
winaccent.accent_normal #0078D4

Here is the output for a custom accent color (green):

Variable Color Preview
winaccent.accent_light #007300
winaccent.accent_dark #3FFF24
winaccent.accent_normal #008B00

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

winaccent-0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

winaccent-0.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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