Liking cljdoc? Tell your friends :D

contrib.color


clampclj

(clamp low up x)
source

colorclj

(color x)
(color x seed-angle saturation lightness)

Hash a value into an harmonious color. Contrast is consistent. Plays well with text and colored backgrounds. https://www.hsluv.org/

Hash a value into an harmonious color. Contrast is consistent. Plays well with text and colored backgrounds.
https://www.hsluv.org/
sourceraw docstring

color-oklchclj

(color-oklch x)
(color-oklch x seed-angle saturation lightness)

Hash a value into an harmonious color. Contrast is consistent. Plays well with text and colored backgrounds.

Hash a value into an harmonious color. Contrast is consistent. Plays well with text and colored backgrounds.
sourceraw docstring

css-rgb-strclj

(css-rgb-str r g b)
source

hsl->rgbclj

(hsl->rgb hsl)
source

hsl->rgb*clj

(hsl->rgb* [H S L])
source

hsluv->rgbclj

(hsluv->rgb [h s l])
source

oklch->rgbclj

(oklch->rgb [l c h])
source

PHIclj

source

rgbintclj

(rgbint x)
source

saturation->chromaclj

(saturation->chroma saturation)
source

SEED-ANGLEclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close