String color = "3A00FF";. char colorHolder[7];. int hex = 0;. color.toCharArray(colorHolder, 7);. hex = strtol(colorHolder, NULL, 16);.
確定! 回上一頁