This file contains 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 characters
(defonce red-amount (atom 0)) | |
(defonce green-amount (atom 0)) | |
(defonce blue-amount (atom 0)) | |
(defn rgb [r, g, b] | |
(str "rgb(" r ", " g ", " b ")")) | |
(defn rgb->hex [r g b] | |
(str | |
"#" |