More contrast for letter icon

This commit is contained in:
M66B 2019-06-22 15:33:53 +02:00
parent 4929bf2429
commit d33d4dfe83
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class Identicon {
byte[] hash = getHash(email);
int color = Color.argb(255, hash[0], hash[1], hash[2]);
color = ColorUtils.blendARGB(color, dark ? Color.WHITE : Color.BLACK, 0.2f);
color = ColorUtils.blendARGB(color, dark ? Color.WHITE : Color.BLACK, 0.3f);
Bitmap bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);