Work with color

(def red 51)
(def green 255)
(def blue 51)
(def alpha 128)

(def html-color (format "#%02X%02X%02X" red green blue))
;; html-color is #33FF33
(println (str "style=\"color: " html-color "\""))

;; with transparency
(def html-alpha (str html-color (format "%02X" alpha)))
;; html-alpha is #33FF3380
(println "html-color is" html-alpha)