Using HTML colour code

Started by Kinoko, Fri 18/03/2005 03:04:56

Previous topic - Next topic

Kinoko

Is it possible to get the AGS colour code from a standard HTML colour code? It's quite hard to use the colour finder to get the shade I'm after.

Radiant

Kind of. HTML code goes <red><green><blue>, e.g. FF0077 = pink. Separate into three values, each of which goes up to 255.
AGS colors go up to 31 per color, so divide each HTML color number by eight, then use the color picker in the AGS palette box to figure it out.
Or, add RED * 2048 + GREEN * 32 + BLUE.

SMF spam blocked by CleanTalk