获取 rgb格式的颜色 #996c33 ----> cc.c3b(153, 108, 51),cc.c4b(153, 108, 51, 255)
function getColorOfRGB(str)
-- 去掉#字符
local newstr = string.gsub(str, '#', '')
-- print("newstr is --"..<
获取 rgb格式的颜色 #996c33 ----> cc.c3b(153, 108, 51),cc.c4b(153, 108, 51, 255)
function getColorOfRGB(str)
-- 去掉#字符
local newstr = string.gsub(str, '#', '')
-- print("newstr is --"..<