mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 15:57:26 +02:00
🎉 Pixel picker
This commit is contained in:
parent
8aad43883f
commit
f8b3baef3f
18 changed files with 494 additions and 199 deletions
|
@ -51,9 +51,7 @@
|
|||
(defn hex->hsl [hex]
|
||||
(try
|
||||
(into [] (gcolor/hexToHsl hex))
|
||||
(catch :default e (do
|
||||
(.log js/console e)
|
||||
[0 0 0]))))
|
||||
(catch :default e [0 0 0])))
|
||||
|
||||
(defn hsl->rgb
|
||||
[[h s l]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue