Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

accentcolordetect-0.0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

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