17.06.2010, 11:49
how can i make some thing that converts int to hex for example that: 255 to that 0000FF,that 0 to that 000000 or that 16776960 to that FFFF00?
thanks
thanks
Originally Posted by billiout
http://www.mathsisfun.com/binary-dec...converter.html
put the int on Decimal: and take the hex color. |
if(!fexist("allcolors.txt")){ new str[60],File:C; C = fopen("allcolors.txt",io_append); for(new i;i<=16777216;i++){ format(str,60,"%06x\r\n",i); fwrite(C,str); } fclose©; }