summaryrefslogtreecommitdiff
path: root/idl/ex_color
diff options
context:
space:
mode:
Diffstat (limited to 'idl/ex_color')
-rw-r--r--idl/ex_color8
1 files changed, 8 insertions, 0 deletions
diff --git a/idl/ex_color b/idl/ex_color
new file mode 100644
index 0000000..4066932
--- /dev/null
+++ b/idl/ex_color
@@ -0,0 +1,8 @@
+!p.color=16
+r=bytarr(16)
+g=bytarr(16)
+b=bytarr(16)
+r=[255,0,255,0,0,255,255,0,255,0,255,0,0,255,255,0]
+g=[255,0,0,255,0,255,0,255,255,0,0,255,0,255,0,255]
+b=[255,0,0,0,255,0,255,255,255,0,0,0,255,0,255,255]
+tvlct,r,g,b