Can anyone optimise this code chunk?

Blitz3D Forums/Blitz3D Beginners Area/Can anyone optimise this code chunk?

Wolron!

Good input!

Haven't used the "hex$" command before. I find it interesting that it defaults to 16-bit hex-output, and not 8-bit hex-output. Since "any" color can only be between "$00-$FF", I guess you could just truncate the "R", "G", and "B" variables so they only include 2 hex-digits each. Ah well, you learn something new every day :-)