Skip to content

Instantly share code, notes, and snippets.

@0x5742
Created November 8, 2015 17:08
Show Gist options
  • Select an option

  • Save 0x5742/325c77ad009be499de8e to your computer and use it in GitHub Desktop.

Select an option

Save 0x5742/325c77ad009be499de8e to your computer and use it in GitHub Desktop.
Ultraviolet color scheme (use on console with 'setvtrgb ultraviolet.rgb')
#!/usr/bin/perl -w
use strict;
my @a = map { chop; split "," } <>;
printf("XTerm*color%d: #%02x%02x%02x", $_, $a[$_], $a[$_ + 16], $a[$_ + 32]) for 0 ... 15;
0,153,66,133,87,153,66,186,91,230,112,202,140,230,112,245
0,80,146,146,59,59,126,179,84,133,223,223,105,105,195,238
0,74,95,74,161,141,161,194,98,120,147,120,238,210,238,252
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment