Image:VGA palette.png

From Wikipedia, the free encyclopedia

No higher resolution available.

VGA_palette.png (512 × 512 pixel, file size: 5 KB, MIME type: image/png)

[edit] Summary

The VGA palette.

[edit] Source code

#!/bin/bash
# (requires ImageMagick)
echo 'P3 512 512 63' >vga.ppm
for r in {0..63}
do
  for g in {0..63}
  do
    for b in {0..63}
    do
      echo $r $g $b >>vga.ppm
    done
  done
done
convert vga.ppm vga.png

[edit] Licensing

Public domain

I, the creator of this work, hereby release it into the public domain. This applies worldwide.
In case this is not legally possible,
I grant any entity the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

File history

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.

  • (del) (cur) 23:13, 20 April 2006 . . Psychonaut (Talk | contribs) . . 512×512 (5,157 bytes) (The VGA palette. ==Source code== #!/bin/bash # (requires ImageMagick) echo 'P3 512 512 63' >vga.ppm for r in {0..63} do for g in {0..63} do for b in {0..63} do echo $r $g $b >>vga.ppm done done done convert vga.p)

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):