I'm new to programming, decided to try this out in Java without using anything but the API. My first attempt didn't have all 16.8 million colors, but this one does. Enjoy.