Created
October 11, 2020 22:30
-
-
Save scorphus/edba3ad5c615fd9ee0992aa81960110d to your computer and use it in GitHub Desktop.
Revisions
-
scorphus created this gist
Oct 11, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ fn main() { for shade in 0..242 { let opacity = 13f32 / (255f32 - shade as f32); println!("opacity:{:0.3};fill:#{:06x}", opacity, shade * 65793); } }