Image:VGA palette.png

From Wikipedia, the free encyclopedia

[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

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current23:13, 20 April 2006512×512 (5 KB)Psychonaut (Talk | contribs) (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):