Control brightness in Python API?


#1

The standard colors are quite… Blinding. I’d like to lower the brightness, which is possible in the command line tool. But I can’t find it anywhere in your Python API; Is there a plan to implement it? Or any workarounds? I’d like to half the brightness of all colors specifically.

Thanks :smile:


#2

Hello and welcome to the forums.

Please take a look at this thread to find a Solution for brightness control:

I hope it helps


#3

I made it work with that. Thanks!


#4

Might be a little late but I personally like to work with HSL and HSV over RGB which gives me control of the brightness.

The colorsys package has some useful functions to convert RGB values.