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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file winaccent-0.1.tar.gz.

File metadata

  • Download URL: winaccent-0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for winaccent-0.1.tar.gz
Algorithm Hash digest
SHA256 f6f58cb4afd2fd7075f7147bc6d9b0d8df188e4c2ab6ff83d68f19f30edc3bb2
MD5 b9b8e70d99c21893b636004a77c071f7
BLAKE2b-256 e10854052da056b70d0793131e523f53f5e4009948c595af343d523e1784afbc

See more details on using hashes here.

Provenance

File details

Details for the file winaccent-0.1-py3-none-any.whl.

File metadata

  • Download URL: winaccent-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for winaccent-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f95d359d5e96752052ccb45ef3ca467a33d80916d3b28d11a9c70f5c584f555a
MD5 2da49b7bfb319aebfdeed6a61e8342d8
BLAKE2b-256 50a37f5b1b636356a6e4f043986fa26d50cd5da133f1cdc2898d1764f586179e

See more details on using hashes here.

Provenance

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