Answers for "color int to hex android"

0

chnage hex color to int color in android

String white = "#ffffff";
int whiteInt = Color.parseColor(white);
Posted by: Guest on October-06-2020
0

convert int color to hex android

String hexColor = String.format("#%06X", (0xFFFFFF & intColor));
Posted by: Guest on January-19-2021

Browse Popular Code Answers by Language