Fixed color blender

This commit is contained in:
M66B
2019-04-04 14:17:36 +02:00
parent ab7e3d073e
commit a956cb8733
4 changed files with 11 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ class Identicon {
}
int color = Color.argb(255, hash[0], hash[1], hash[2]);
color = ColorUtils.blendARGB(color, dark ? Color.BLACK : Color.WHITE, 0.2f);
color = ColorUtils.blendARGB(color, dark ? Color.WHITE : Color.BLACK, 0.2f);
Paint paint = new Paint();
paint.setColor(color);