I assume 255 is your alpha channel, in this case, I think you would like 255 << 24 .
SonarQube does not know your intentions, but it has a valid point, as Toby stated.
As for readability, you can also try hexa-code (for example, 0xFF5B9BD5 ), many developers are already used to it. Of course, a decimal would be completely unreadable and ugly.
source share