Revert "Prevent transparent black"

This reverts commit 486ccfa5f3.
This commit is contained in:
M66B 2022-10-06 07:46:11 +02:00
parent 9e1d017320
commit 11dcb0c7fd
1 changed files with 1 additions and 1 deletions

View File

@ -2084,7 +2084,7 @@ public class HtmlHelper {
static String encodeWebColor(int color) {
int alpha = Color.alpha(color);
int rgb = 0xFFFFFF & color;
if (alpha == 255 || color == 0)
if (alpha == 255)
return String.format("#%06X", rgb);
else
return String.format("#%06X%02X", rgb, alpha);