mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 04:32:26 -06:00
slightly desaturate placeholder icon font
This commit is contained in:
parent
3d663676aa
commit
3070f2e373
|
|
@ -25,7 +25,7 @@ class Ico(object):
|
|||
zb = [ord(x) for x in zb] # type: ignore
|
||||
|
||||
c1 = colorsys.hsv_to_rgb(zb[0] / 256.0, 1, 0.3)
|
||||
c2 = colorsys.hsv_to_rgb(zb[0] / 256.0, 0.8 if HAVE_PILF else 1, 1)
|
||||
c2 = colorsys.hsv_to_rgb(zb[0] / 256.0, 0.5 if HAVE_PILF else 1, 0.9)
|
||||
ci = [int(x * 255) for x in list(c1) + list(c2)]
|
||||
c = "".join(["%02x" % (x,) for x in ci])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue