Skip to content

Instantly share code, notes, and snippets.

View stungeye's full-sized avatar

Kyle Geske stungeye

View GitHub Profile
(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
"#"