Skip to content

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

python
import accentcolordetect

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

Not associated with or approved by Mojang Studios or Microsoft