Atari Gamer
  1. Home >
  2. Pages >
  3. Atari Lynx Palette Generator

This is an Atari Lynx colour palette generator. Input colours are scaled down from 16,777,216 web colours to the 4,096 possible colours that the Lynx can display (two bytes per channel to one byte per channel).

There are two arrays generated. The first array is expected to be passed to the tgi_setpalette() function. The second array is expected to be passed to the setpallete() function from Alex Thissen's tutorial. Use only one of the arrays, depending on how you set your palette.

Enter 16 HTML colour codes in the text box below and click Generate.

Hope you found this useful...
...so please read on! All information on Atari Gamer is provided free of charge and we encourage you to share it as you wish. There is a small favour we ask in return however - engage in comments below, provide feedback, and if you see mistakes get in contact and let us know.

If you want to go a little further to show your appreciation, please check out how you can support Atari Gamer.
You can find Atari Gamer on...
Be sure to follow for the latest Atari Lynx news, updates, stories and photos!
[ Don't show again ][ Dismiss ]
Loading...