三原色分别为:红(Red)、绿(Green)、蓝(Blue).
颜色值=(Red)+(Green*256)+(Blue*256*256)
//由三原色值合成颜色整数值 function ColorFromRGB(red, green, blue) { return red + green*256 + blue*256*256; }
2023-11-29 20:21:52
三原色分别为:红(Red)、绿(Green)、蓝(Blue).
颜色值=(Red)+(Green*256)+(Blue*256*256)