Skip to content

legopitstop/accentcolordetect

Repository files navigation

accentcolordetect

PyPI Python Downloads Status Code style: black Issues

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

Installation

Install the module with pip:

pip3 install accentcolordetect

Update existing installation: pip3 install accentcolordetect --upgrade

Usage

import accentcolordetect

>>> accentcolordetect.accent()
((255, 140, 0), '#ff8c00')