Detect OS accent color from Python
Project description
Accentcolordetect
This package allows you to detect the user's accent color on:
- macOS (untested)
- Windows 10+
The main application of this package is to detect the accent color from your GUI Python application and apply the needed adjustments to your interface. Inspired by the darkdetect package by Alberto Sottile
Usage
import accentcolordetect
>>> accentcolordetect.accent()
((255, 140, 0), '#ff8c00')
Install
pip install accentcolordetect
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file accentcolordetect-0.0.1.tar.gz
.
File metadata
- Download URL: accentcolordetect-0.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e98285ce3ce4ff1ab278a94bb0dedb00dc6ec0d92f43aa4ed203ff51a998d37 |
|
MD5 | 28d4338cdcac5bfbfed0b68ced1f9a25 |
|
BLAKE2b-256 | 49f604fc005e0eed5b20666f5900f78afba163ab8f6ab1b593ec721cb9aa32d5 |