I'm excited to announce https://github.com/jramosg/color-tools v1.1.0, a feature release that adds more capabilities: • New blending modes: blend-multiply, blend-screen, blend-overlay — useful for texture/contrast effects and layer compositing. • Tints, shades, and tones: tint/shade/tone plus tints/shades/tones helpers to generate design-system palettes. • Proper alpha compositing: alpha-blend and with-alpha implement Porter‑Duff compositing for correct transparency layering. • Interpolation & gradients: interpolate and gradient in :rgb, :hsl, or :hsv with hue wrapping for natural color transitions. • Perceptual color difference: rgb->lab and delta-e (CIE76) plus perceptually-similar? for human-aware comparisons. • Color temperature: kelvin->rgb/kelvin->hex/kelvin->color and rgb->kelvin If you give it a spin and find something missing or a bug, feel free to open an issue or PR on the repo. Happy to iterate and add more color-space utilities next! 🌈🌈🌈 It also includes a demo at https://jramosg.github.io/color-tools/
@jonurnieta Very cool. I appreciate the focus on web design usability (like SASS). Have you seen this? Might have some prior art https://clojure2d.github.io/clojure2d/docs/notebooks/notebooks/color.html https://github.com/Clojure2D/clojure2d?tab=readme-ov-file#colorpalettesgradients https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.color.html https://clojure2d.github.io/clojure2d/docs/codox/clojure2d.color.blend.html
Hello, I didn't know about that library, thanks for the pointer! I appreciate the links and I’ll review Clojure2D’s color APIs. Thank you!!