(color-seq colors)handy for creating sequences of color changes
handy for creating sequences of color changes
(hex-char-to-int c)Convert a single hex character to integer
Convert a single hex character to integer
(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)
(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)
(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
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |