Liking cljdoc? Tell your friends :D

girouette.tw.color


as-transparentclj/s

(as-transparent color)

Transforms a color into a transparent one when possible.

Transforms a color into a transparent one when possible.
sourceraw docstring

color->cssclj/s

(color->css color)

Transform a color structure into a css string.

Transform a color structure into a css string.
sourceraw docstring

color-rulesclj/s

(color-rules color-map)
source

read-colorclj/s

(read-color color-map color)

Returns a 4-elements vector containing the color components, or a string. The nil value is returned if a particular component is not specified in the input.

color-map is a function which takes a string and returns a string in the hexadecimal RRGGBB format. color-map is typically a hashmap.

color is the data structure from the parser which matched a color.

Returns a 4-elements vector containing the color components, or a string.
The nil value is returned if a particular component is not specified in the input.

`color-map` is a function which takes a string and returns a string in the hexadecimal RRGGBB format.
`color-map` is typically a hashmap.

`color` is the data structure from the parser which matched a color.
sourceraw docstring

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

× close