我不知道如何将我的3个值(red,green和blue的int值)转换为android的一个颜色int值。
red
green
blue
Color(android.graphics.Color)是一个默认的android类。
int myColor = Color.rgb(red, blue, green) myView.setBackgroundColor(myColor);