summary refs log tree commit diff
path: root/bin/pngo.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-28 00:19:42 -0500
committerJune McEnroe <june@causal.agency>2018-02-28 00:19:42 -0500
commitf8da8964643fc5c891e08b2db69c5ba86f449e58 (patch)
tree85778592efdf7759962d527e94e6d05e07db6e37 /bin/pngo.c
parentPrint message in gfx/none (diff)
downloadsrc-f8da8964643fc5c891e08b2db69c5ba86f449e58.tar.gz
src-f8da8964643fc5c891e08b2db69c5ba86f449e58.zip
Clean up gfxx and add default palette
The palette was generated in Rust:

    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);
        }
    }
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions