summary refs log tree commit diff
path: root/rs
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-03-30 23:10:56 -0400
committerJune McEnroe <programble@gmail.com>2018-03-30 23:10:56 -0400
commit56062b3c3d822cbb857f7ac92241ef512e600c7e (patch)
tree4a189e13e70dc567b2bad3e405f92dd4a5ae0adf /rs
parentIgnore build and clone (diff)
downloadsrc-56062b3c3d822cbb857f7ac92241ef512e600c7e.tar.gz
src-56062b3c3d822cbb857f7ac92241ef512e600c7e.zip
Generate default palette in gfxx
Diffstat (limited to '')
-rw-r--r--rs/palette.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/rs/palette.rs b/rs/palette.rs
deleted file mode 100644
index 2b0dec3c..00000000
--- a/rs/palette.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// cargo-deps: hsl
-extern crate hsl;
-
-fn main() {
-    for i in 0..256 {
-        let h = i as f64 * 360.0 / 256.0;
-        let hsl = hsl::HSL { h, s: 1.0, l: 0.5 };
-        let (r, g, b) = hsl.to_rgb();
-        println!("0x{:02X}{:02X}{:02X},", r, g, b);
-    }
-}