Liking cljdoc? Tell your friends :D

patterning.color


color-seqclj/s

(color-seq colors)

handy for creating sequences of color changes

handy for creating sequences of color changes
sourceraw docstring

color-to-fillclj/s

(color-to-fill style)
source

darker-colorclj/s

(darker-color c)
source

edge-colclj/s

(edge-col c)
source

fill-genclj/s

(fill-gen c)
source

hex-char-to-intclj/s

(hex-char-to-int c)

Convert a single hex character to integer

Convert a single hex character to integer
sourceraw docstring

hex-colorclj/s

(hex-color hex-str)
(hex-color hex-str alpha)

Convert a hex color string to p-color format. Supports formats: #RGB, #RRGGBB, #RGBA, #RRGGBBAA, RGB, RRGGBB, RGBA, RRGGBBAA If hex string includes alpha (4 or 8 digits), it will be used. Otherwise, optional alpha parameter (0-255, defaults to 255)

Convert a hex color string to p-color format.
Supports formats: #RGB, #RRGGBB, #RGBA, #RRGGBBAA, RGB, RRGGBB, RGBA, RRGGBBAA
If hex string includes alpha (4 or 8 digits), it will be used.
Otherwise, optional alpha parameter (0-255, defaults to 255)
sourceraw docstring

hex-pair-to-intclj/s

(hex-pair-to-int hex-str)

Convert a pair of hex characters to integer (0-255)

Convert a pair of hex characters to integer (0-255)
sourceraw docstring

lightenclj/s

(lighten style)
source

lightened-colorclj/s

(lightened-color c)
source

mod-stylesclj/s

(mod-styles f styles)
source

p-colorclj/s

(p-color x)
(p-color r g b)
(p-color r g b a)
source

paintclj/s

(paint stroke)
(paint stroke fill)
(paint stroke fill thick)
source

parse-hex-stringclj/s

(parse-hex-string hex-str)

Parse a hex color string to RGB or RGBA values. Supports formats: #RGB, #RRGGBB, #RGBA, #RRGGBBAA, RGB, RRGGBB, RGBA, RRGGBBAA Returns [r g b] for 3/6 digit formats, [r g b a] for 4/8 digit formats

Parse a hex color string to RGB or RGBA values.
Supports formats: #RGB, #RRGGBB, #RGBA, #RRGGBBAA, RGB, RRGGBB, RGBA, RRGGBBAA
Returns [r g b] for 3/6 digit formats, [r g b a] for 4/8 digit formats
sourceraw docstring

rand-colclj/s

(rand-col & {:keys [random] :or {random default-random}})
source

remove-transparencyclj/s

(remove-transparency c)
source

resolve-colorclj/s

(resolve-color c)
source

resolve-thicknessclj/s

(resolve-thickness t)
source

setup-colorsclj/s

(setup-colors colors c)
source

stroke-genclj/s

(stroke-gen c)
source

transparent-genclj/s

(transparent-gen name [r g b a])
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close